Xilinx FPGA Design Using Simulink With Hardware Co-Simulation
Xilinx FPGA Design Using Simulink With Hardware Co-Simulation
Introduction
Design toolchain
Basic Elements
Summary
TKN
Outline
Introduction
Design toolchain
Basic Elements
Summary
Outline
2 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
Outline
Introduction
Design toolchain
Basic Elements
Summary
Hardware co-simulation
Incorporate hardware into Simulink design Speed up simulation with hardware in the loop Automatic data exchange Supports Xilinx FPGA chips with JTAG programming
4 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
Toolchain
Required software
Outline
Introduction
Design toolchain
Basic Elements
Summary
Toolchain
Required software
ISE Design Suite v10.1.03 EDK v10.1.03 System Generator 10.1.3.1386 Xilinx ISE v10.1 is the last one supporting Virtex II chips Additional software: Mentor Modelsim
5 / 17
Sensitive to version changes One System Generator supports only two Matlab versions
Outline
Introduction
Design toolchain
Basic Elements
Summary
Outline
6 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
Simple example
Gateways are Top-level output in compilation results Between gateways there are only Xilinx blocks Outside gateways can be all other blocks
7 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
System Generator
Most important block Must be at Top-level in every Simulink model Allows compilation of the design
8 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
HDL Netlist
VHDL Verilog
Ethernet
Data exchange Point-to-point Network based
9 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
Gateways
Name is transferred to the generated IP Fixed binary point arithmetic Important to set Output data type
number of bits binary point
10 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
Basic elements
11 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
Memory library
12 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
Outline
13 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
Simulink model
Signal generated in Simulink. Sum of 2 sine waves and noise 512point FFT Delay block on done line
14 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
Hardware-Software Co-Simulation
Outline
Introduction
Design toolchain
Basic Elements
Summary
Demo results
Calculated FFT
Original signal
16 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
Summary
Simulink as FPGA design tool Easy to use No need of HDL knowledge Multiple ready blocks Hardware-Software Co-Simulation Xilinx System Generator brings hardware into simulation Problems Sensitive to version changes Complicated and long toolchain
17 / 17
Outline
Introduction
Design toolchain
Basic Elements
Summary
TKN
18 / 17