SSP Re-hosting System Development: Modeling of C Programs and Waveforms

12
Semantic Signal Processing Group 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 1

description

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 - PowerPoint PPT Presentation

Transcript of SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Page 1: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group

SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Fangming He, Hong ManDepartment of Electrical and Computer Engineering

Stevens Institute of Technology

Sept. 2, 2010

1

Page 2: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group

Outline

C language Modeling for Cognitive Linguistics

Waveform Modeling (System Level) for Cognitive Linguistics

2

Waveform Layer

Coding Layer

Page 3: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group

C language Modeling

3

2010 Spring 2010 Summer 2010 Fall

Variable Definition & Declaration *Function Definition *Condition Control:(If…else if … else, switch… case)

*

Loop Control(for, while) *Vector & Pointer *Recursive Function *Structure and Union

*

Memory Allocation *

Page 4: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group

CL Representation---- for

• for(initiation; condition; loop control){

statement 1;

statement 2;

}

4

Initiation place condition cause statements & Loop control path statement place loop control place

Page 5: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group 5

CL Representation ---- While

Page 6: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group 6

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;}

Page 7: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group 7

CL Representation ---- Hierarchical Structure

<cause><path>

。。。。。。</path>

</cause>

<cause><path>

<cause><path>

。。。</path>

</cause><cause>

<path>。。。

</path></cause>

</path></cause>

Page 8: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group

Waveform Modeling for CL (1)

8

PathEvery signal processing block can be expressed as a path.

ThingThe specific value of parameters in the signal processing block.

PlaceThe description of thing including the id, attributes and types of the thing.

ActionData flow control: the connection of different paths.

CauseConditions to trigger to enter some paths.

Page 9: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group 9

Waveform Modeling for CL (2)

Page 10: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group 10

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>

Page 11: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group 11

Waveform Modeling for CL (2)

Page 12: SSP Re-hosting System Development: Modeling of C Programs and Waveforms

Semantic Signal Processing Group 12

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>