120 likes | 205 Vues
SSP Re-hosting System Development: Modeling of C Programs and Waveforms. Fangming He, Hong Man Department of Electrical and Computer Engineering Stevens Institute of Technology Sept. 2, 2010. Outline. Waveform Layer. Coding Layer. C language Modeling for Cognitive Linguistics
E N D
SSP Re-hosting System Development: Modeling of C Programs and Waveforms Fangming He, Hong Man Department of Electrical and Computer Engineering Stevens Institute of Technology Sept. 2, 2010
Outline Waveform Layer Coding Layer • C language Modeling for Cognitive Linguistics • Waveform Modeling (System Level) for Cognitive Linguistics
CL Representation---- for • Initiation place • condition cause • statements & Loop control path • statement place • loop control place • for(initiation; condition; loop control){ statement 1; statement 2; }
CL Representation ---- Switch Case switch ( states ) { case condition1 is true: statement 1; break; case condition2 is true: statement 2; break; case condition is true: statement 3; break; ... default: statement N; }
CL Representation ---- Hierarchical Structure <cause> <path> 。。。。。。 </path> </cause> <cause> <path> <cause> <path> 。。。 </path> </cause> <cause> <path> 。。。 </path> </cause> </path> </cause>
Waveform Modeling for CL (1) • Path • Every signal processing block can be expressed as a path. • Thing • The specific value of parameters in the signal processing block. • Place • The description of thing including the id, attributes and types of the thing. • Action • Data flow control: the connection of different paths. • Cause • Conditions to trigger to enter some paths. 8
Waveform Modeling for CL (3) <action> <thing>random_source_x_0</thing> <thing>blks2_dxpsk_mod_0</thing> </action> <action> <thing>blks2_dxpsk_mod_0</thing> <thing>gr_multiply_const_vxx_0</thing> </action> <action> <thing>gr_multiply_const_vxx_0</thing> <thing>usrp2_sink_xxxx_0</thing> </action> <action> <thing>usrp2_source_xxxx_0</thing> <thing>wxgui_constellationsink2_0</thing> </action>
Waveform Modeling for CL (4) • <path name = "blks2_dxpsk_mod"> • <place>id • <thing>blks2_dxpsk_mod_0</thing> </place> • <place>_enabled • <thing>True</thing> </place> • <place>type • <thing>dqpsk</thing> </place> • <place>samples_per_symbol • <thing>samps_per_sym</thing> </place> • <place>excess_bw • <thing>0.35</thing> </place> • <place>gray_code • <thing>True</thing> </place> • <place>_coordinate • <thing>(468, 55)</thing> </place> • <place>_rotation • <thing>0</thing> </place> • </path>