Intro To FPGA Design Using MATLAB and Simulink Published
Intro To FPGA Design Using MATLAB and Simulink Published
Algorithm Design
Fixed-Point Timing and Control Logic Architecture Exploration Algorithms / IP
RTL Design
IP Interfaces Hardware Architecture
Verification
Behavioral Simulation Functional Simulation Static Timing Analysis Timing Simulation
Back Annotation
Synthesis
Map
FPGA Hardware
RTL Design
IP Interfaces Hardware Architecture
Verification
Behavioral Simulation Functional Simulation Static Timing Analysis Timing Simulation
Back Annotation
FPGA Hardware
Verification
Behavioral Simulation Functional Simulation Static Timing Analysis Timing Simulation
Hardware Architecture
RTL
Implement Design
Synthesis Map Place & Route
Back Annotation
FPGA Hardware
Behavioral Cosimulation
RTL
Implement Design
Synthesis Map Place & Route
Back Annotation
FPGA Hardware
Behavioral Cosimulation
RTL
Implement Design
Back Annotation Synthesis Map
Back Annotation
Implement Design
Synthesis
Map Place & Route
Verification
Functional Simulation Static Timing Analysis Timing Simulation
FPGA Hardware
Behavioral Cosimulation
RTL
Back Annotation
Implement Design
Synthesis
Map Place & Route
Verification
Functional Simulation Static Timing Analysis Timing Simulation
FPGA Hardware
FPGA Hardware
7
MathWorks
HDL Coder
Altera
DSP Builder DSP Builder Advanced Blockset
HDL Coder
HDL code generation from MATLAB code, Simulink models, and Stateflow charts
Target-independent HDL code IEEE 1376 compliant VHDL IEEE 1364-2001 compliant Verilog
Verification
Generate HDL test bench Cosimulate with Mentor Graphics ModelSim or Cadence Incisive
Workflow integration
Integration with FPGA implementation tools
e.g., Quartus II
Optimize for area/speed Generate bit stream Back-annotation of timing to Simulink model
HDL
FPGA
Verify
ASIC
9
Generate
DDC accepts
A high sample rate passband signal (may be 50 to 100 Msps)
DDC produces
A low sample-rate baseband signal ready for demodulation
Fixed-Point Model
HW Implementation Model
HDL
10
Fixed-Point Analysis
Digital Down Converter
11
12
Communications Blocks
Psuedo-random Sequence Generator, Modulator / Demodulator, Interleaver / Deinterleaver, Viterbi Decoder
13
Stateflow
Tool for graphical modeling of Mealy / Moore finite state machines
14
HDL
FPGA
Verify
ASIC
Generate
16
Generate
Verification
Generate HDL test bench Cosimulate with ModelSim
Altera FPGA FPGA
Verify
17
Simulink
Sources Sinks Continuous Discrete Nonlinear Math
Altera DSP Builder Advanced Blockset Altera DSP Builder Blockset Fixed-Point Blockset DSP System Blockset Simulink Coder Communications System Blockset Image Acquisition Toolbox others
18
19
20
ModelIP
ModelPrim
21
Stratix II AUTO
22
23
24
Math.h Functions
Math.h
- SIN - COS - TAN - ASIN - ACOS - ATAN - EXP - LOG - LOG10 - POW(x,y) - LDEXP - FLOOR - CEIL - FABS - SQRT - DIVIDE - 1/SQRT
26
27
28
29
30
System-level designers new to hardware design Companies that have adopted Model-Based Design Target-independent HDL needed Safety-critical applications
Hardware designers new to Model-Based Design Optimized for all Altera devices even ones we havent built yet Constraint driven for high performance designs
31
Next Steps
1.
Visit mathworks.com/fpga
Get free FPGA Design Information Kit
2.
Visit altera.com/dspbuilder
Technical resources Request trial
3.
Questions?
Write to [email protected]
MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders 32