From Simulink to NoC-based MPSoC on FPGA
Simulink front-end for the NoC System Generator (NSG) Francesco Robino
KTH Royal Institute of Technology
ICES seminar
- F. Robino (KTH)
From Simulink to MPSoC on FPGA 20-05-2014 1 / 17
From Simulink to NoC-based MPSoC on FPGA Simulink front-end for the - - PowerPoint PPT Presentation
From Simulink to NoC-based MPSoC on FPGA Simulink front-end for the NoC System Generator (NSG) Francesco Robino KTH Royal Institute of Technology ICES seminar F. Robino (KTH) From Simulink to MPSoC on FPGA 20-05-2014 1 / 17 Overview of the
From Simulink to MPSoC on FPGA 20-05-2014 1 / 17
From Simulink to MPSoC on FPGA 20-05-2014 2 / 17
P e P e P e P e P e P e Application Instance Platform Instance
From Simulink to MPSoC on FPGA 20-05-2014 3 / 17
P e P e P e P e P e P e
Application Instance Platform Instance Common semantics domain
From Simulink to MPSoC on FPGA 20-05-2014 4 / 17
From Simulink to MPSoC on FPGA 20-05-2014 5 / 17
Initialization
Simulation stop time?
Start simulation Y N Store inputs Compute outputs Generate outputs Advance simulation time Stop simulation
Simulation loop
From Simulink to MPSoC on FPGA 20-05-2014 6 / 17
Initialization
Simulation stop time?
Start simulation Y N Store inputs Compute outputs Generate outputs Advance simulation time Stop simulation
Simulation loop
0 0.25 0.5 0.75 S0 S0 S1 S2 1 1.25 1.5 1.75 S3 S3 S4 S4 0.5 0.75 S0 S1 S2 1 1.5 S3 S4
From Simulink to MPSoC on FPGA 20-05-2014 7 / 17
Initialization
Simulation stop time?
Start simulation Y N Store inputs Compute outputs Generate outputs Advance simulation time Stop simulation
Simulation loop
From Simulink to MPSoC on FPGA 20-05-2014 8 / 17
Execute rt_onestep Interrupt received? Begin
PE SW Initialize SW processes Wait first interrupt Interrupt
From Simulink to MPSoC on FPGA 20-05-2014 9 / 17
Execute SW processes HB tick received? Begin
PE HB tick SW Initialize SW processes Wait first HB tick
P E P E 1 P E 2 P E 3
1 2 3 3 6 5 8 PE 0
NoC
H B p e r i
H B t i c k s ε c
1 2 3 7
NoC
ε c
1 2 8
NoC
ε c
4 3 1 2 9
NoC
ε c
4 3 5 PE 1 PE 2 PE 3
N
S y s t e m G e n e r a t
process network and system specs
H B p r
e s s w r a p p e r S i m u l i n k m
e l
From Simulink to MPSoC on FPGA 20-05-2014 10 / 17
Initialization Simulation stop time? Start simulation Y N Store inputs Compute outputs Generate outputs Advance simulation time Stop simulation Simulation loop
Execute rt_onestep Interrupt received? Begin
Y N
P E S W Initialize SW processes Wait first interrupt Interrupt
Execute SW processes HB tick received? Begin
Y N
P E HB tick S W Initialize SW processes Wait first HB tick
Application Instance Platform Instance
From Simulink to MPSoC on FPGA 20-05-2014 11 / 17
http://www.mathworks.se/help/dsp/ug/digital-filter-block.html
From Simulink to MPSoC on FPGA 20-05-2014 12 / 17
P E P E P E 1 P E 2 P E 3
From Simulink to MPSoC on FPGA 20-05-2014 13 / 17
From Simulink to MPSoC on FPGA 20-05-2014 14 / 17
[0.00003,0.00006,
[0.000000,0.453990, 0.809017,0.987688,...] [X,-0.014091, 0.043682,0.440711,...] [X,X, 0.00003,0.00006,...] [0.043682,0.440711,...] [0.00003,0.00006,...] [0.809017,0.987688,...]
From Simulink to MPSoC on FPGA 20-05-2014 15 / 17
From Simulink to MPSoC on FPGA 20-05-2014 16 / 17
1Asynchronous circuits are not governed by a global clock, but they use signals to
From Simulink to MPSoC on FPGA 20-05-2014 17 / 17