Chapter 14: AltLab Library
14–9
HIL (Hardware in the Loop)
The HIL (Hardware in the Loop) block allows you to use an FPGA as a simulation
device inside a Simulink design. This configuration accelerates the simulation time,
and also allows access to real hardware in a simulation.
To use an HIL block, you need an FPGA development board with a JTAG interface.
Use any JTAG download cable, such as a ByteBlasterMV?, ByteBlaster?, or
USB-Blaster? cable.
HIL supports advanced features, including:
Exported ports (allows the use of hardware components connected to the FPGA)
Burst mode (improves HIL simulation speed)
1
This block supports only single clock designs with registered paths in a design. The
simulation results may be unreliable for combinational paths.
Table 14–12 shows the parameters specified in page 1 of the HIL dialog box.
Table 14–12. HIL Block Parameters, Page 1
Name
Select the Quartus II
project
Select the clock pin
Select the reset pin
Identify the signed
ports
Export
Select the reset level
Burst Mode
Burst Length
Sampling Period
Assert “Sclr” before
starting the simulation
Value
. qpf file
Port name
Port name
Signed or
Unsigned
On or Off
Active_High,
Active_Low
On or Off
(1)
Integer
On or Off
Description
Browse for a Quartus II project file ,which describes the hardware design that the
HIL block uses.
The clock pin name for the hardware design in the Quartus II software.
The reset pin name for the hardware design in the Quartus II software.
Set the number of bits and select the type (signed or unsigned) of each input and
output port in the hardware design.
When on, the selected port is exported on an FPGA pin (or on multiple pins for
buses). When off (the default), the port is exported to the Simulink model.
The reset level that matches the setting in the original design. For designs originated
from the standard blockset, the reset level is specified in the Clock or
Clock_Derived block. If your design uses no clock block, it uses a default clock
with reset level active high. For designs originated from the advanced blockset, the
reset level is specified in the Signals block.
When on, allows sending data to the FPGA in bursts, which improves the simulation
speed, but delays the outputs by the burst length. When Off, it defaults to
single-step mode.
Specify the length of a burst ("1" is equivalent to disabling burst mode). Use higher
values to produce faster simulations (although the extra gain becomes negligible
with bigger burst sizes).
Specify the sample time period in seconds. (A value of -1 means that the sampling
period is inherited from the block connected to the inputs.)
When on, asserts the synchronous clear signal before the simulation starts.
Note to Table 14–12 :
(1) The record size is 32×1024×1024, which is the product of ( packet size ) × ( burst length ) while the packet size is the larger of the total input data
width and the total output data width. For example, for a packet size of 1024 bits, set the burst length to 32×1024. However, due to the
limitations of the JTAG interface, the optimal record size is between 1 to 2 MBPS (depending on the host computer, USB driver and cables).
Hence, setting a bigger burst size might not give significant speed up.
November 2013
Altera Corporation
DSP Builder Handbook
Volume 2: DSP Builder Standard Blockset
相关PDF资料
IR11662SPBF IC CNTROL SMART RECTIFIER 8-SOIC
IR1166STRPBF IC MOSFET DRIVER N-CH 200V 8SOIC
IR11672ASPBF IC MOSFET DRIVER 200V 8-SOIC
IR1167ASTRPBF IC SMART SECONDARY DRIVER 8-SOIC
IR11682STRPBF IC MOSFET DRIVER DUAL 200V 8SOIC
IR1168SPBF IC MOSFET DRIVER DUAL 200V 8SOIC
IR1176STR IC DRIVER RECT SYNC 5V 4A 20SSOP
IR2010SPBF IC DRIVER HIGH/LOW SIDE 16SOIC
相关代理商/技术参数
IP-TRIETHERNET 功能描述:开发软件 Triple Spd Ethernet MegaCore RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
IP-TRIETHERNETF 功能描述:开发软件 3x Spd Ethernet MAC MegaCore RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
IPTV-OPTION-INS970 制造商:3M Electronic Products Division 功能描述:IPTV OPTION FOR INS970
IPU039N03L G 功能描述:MOSFET N-CH 30V 50A 3.9mOhms RoHS:否 制造商:STMicroelectronics 晶体管极性:N-Channel 汲极/源极击穿电压:650 V 闸/源击穿电压:25 V 漏极连续电流:130 A 电阻汲极/源极 RDS(导通):0.014 Ohms 配置:Single 最大工作温度: 安装风格:Through Hole 封装 / 箱体:Max247 封装:Tube
IPU039N03LG 制造商:INFINEON 制造商全称:Infineon Technologies AG 功能描述:OptiMOS?3 Power-Transistor Features Fast switching MOSFET for SMPS
IPU039N03LGXK 制造商:Infineon Technologies AG 功能描述:Trans MOSFET N-CH 30V 50A 3-Pin(3+Tab) TO-251
IPU04N03LA 功能描述:MOSFET N-CH 25V 50A IPAK RoHS:否 类别:分离式半导体产品 >> FET - 单 系列:OptiMOS™ 标准包装:1,000 系列:MESH OVERLAY™ FET 型:MOSFET N 通道,金属氧化物 FET 特点:逻辑电平门 漏极至源极电压(Vdss):200V 电流 - 连续漏极(Id) @ 25° C:18A 开态Rds(最大)@ Id, Vgs @ 25° C:180 毫欧 @ 9A,10V Id 时的 Vgs(th)(最大):4V @ 250µA 闸电荷(Qg) @ Vgs:72nC @ 10V 输入电容 (Ciss) @ Vds:1560pF @ 25V 功率 - 最大:40W 安装类型:通孔 封装/外壳:TO-220-3 整包 供应商设备封装:TO-220FP 包装:管件
IPU04N03LA G 功能描述:MOSFET N-CH 25V 50A IPAK RoHS:是 类别:分离式半导体产品 >> FET - 单 系列:OptiMOS™ 标准包装:1,000 系列:MESH OVERLAY™ FET 型:MOSFET N 通道,金属氧化物 FET 特点:逻辑电平门 漏极至源极电压(Vdss):200V 电流 - 连续漏极(Id) @ 25° C:18A 开态Rds(最大)@ Id, Vgs @ 25° C:180 毫欧 @ 9A,10V Id 时的 Vgs(th)(最大):4V @ 250µA 闸电荷(Qg) @ Vgs:72nC @ 10V 输入电容 (Ciss) @ Vds:1560pF @ 25V 功率 - 最大:40W 安装类型:通孔 封装/外壳:TO-220-3 整包 供应商设备封装:TO-220FP 包装:管件