参数资料
型号: IP-SLITE2
厂商: Altera
文件页数: 106/110页
文件大小: 0K
描述: IP SERIALLITE II
标准包装: 1
系列: *
类型: MegaCore
功能: SerialLite II 协议
许可证: 初始许可证
5–20
Chapter 5: Testbench
Example Testbench – Verilog HDL
Table 5–12. Example of a Demonstration Testbench (Part 4 of 5)
Main Section
begin
//////////////////////////////////////////////
// Generate HPP priority packets for DUT
//////////////////////////////////////////////
agen_pri_dut.verbose(1);
agen_pri_dut.ipg(0,5);
amon_pri_sis.verbose(1);
fork
while ( pkt_cnt_pri_dut > 0 ) begin : send_loop_pri_dut
integer size;
integer err;
reg [3:0] addr;
addr = $dist_uniform(seed,0,15);
size = $dist_uniform(seed,1,780);
err = ( $dist_uniform(seed,0,8) == 4 ) ? 1'b1 : 1'b0;
agen_pri_dut.send_packet(addr,size,err);
reset_watchdog_timer;
pkt_cnt_pri_dut = pkt_cnt_pri_dut - 1;
end
begin
fork
amon_pri_sis.wait_all_packets(packets_to_send);
join
Comments
Send high priority packets (on Atlantic interface) to the
DUT MegaCore function.
AGEN and AMON instantiations are set to display verbose
messages.
Set AGEN to insert random inner packet gaps.
Launch two processes in parallel:
- Send high priority packets to the DUT.
Define packet size, error, address.
Packet address is a random number from 0 to 15.
Packet size is a random number from 1 to 780.
Packet err is a random number from 0 to 1.
Call the AGEN send packet task (high priority, DUT)
Reset watchdog with every packet being sent.
Repeat this loop pkt_c n t_p r i_dut times.
end
join
end
- Wait for the other side (Atlantic interface of the SISTER)
to receive all these packets.
SerialLite II MegaCore Function
User Guide
January 2014 Altera Corporation
相关PDF资料
PDF描述
IP-SRAM/QDRII IP QDRII SRAM CONTROLLER
IP-VITERBI/SS IP VITERBI LOW-SPEED
IP4220CZ6,125 IC USB DUAL ESD PROTECT 6TSOP
IPA-66-1-600-10.0-A-01-T CIRC BRKR 10A 2POLE SCREW TERM
IPR-CSC IP COLOR SPACE CONVERTER RENEW
相关代理商/技术参数
参数描述
IPSLU-AP005-5 功能描述:Pressure Sensor 15 PSI (103.42 kPa) Absolute Male - 1/4" (6.35mm) NPT 4 mA ~ 20 mA Probe 制造商:cynergy 3 系列:IPSLU 零件状态:有效 压力类型:绝对 工作压力:15 PSI(103.42 kPa) 输出类型:模拟电流 输出:4 mA ~ 20 mA 精度:±0.5% 电压 - 电源:9 V ~ 32 V 端口尺寸:公型 - 1/4"(6.35mm) NPT 端口样式:有螺纹 特性:放大输出,温度补偿 端子类型:连接器 最高压力:- 工作温度:-20°C ~ 80°C 封装/外壳:探头组件 供应商器件封装:探头组件 标准包装:1
IPSLU-AP010-5 功能描述:Pressure Sensor 10 PSI (68.95 kPa) Absolute Male - 1/4" (6.35mm) NPT 4 mA ~ 20 mA Probe 制造商:cynergy 3 系列:IPSLU 零件状态:有效 压力类型:绝对 工作压力:10 PSI(68.95 kPa) 输出类型:模拟电流 输出:4 mA ~ 20 mA 精度:±0.5% 电压 - 电源:9 V ~ 32 V 端口尺寸:公型 - 1/4"(6.35mm) NPT 端口样式:有螺纹 特性:放大输出,温度补偿 端子类型:连接器 最高压力:- 工作温度:-20°C ~ 80°C 封装/外壳:探头组件 供应商器件封装:探头组件 标准包装:1
IPSLU-AP015-5 功能描述:Pressure Sensor 15 PSI (103.42 kPa) Absolute Male - 1/4" (6.35mm) NPT 4 mA ~ 20 mA Probe 制造商:cynergy 3 系列:IPSLU 零件状态:有效 压力类型:绝对 工作压力:15 PSI(103.42 kPa) 输出类型:模拟电流 输出:4 mA ~ 20 mA 精度:±0.5% 电压 - 电源:9 V ~ 32 V 端口尺寸:公型 - 1/4"(6.35mm) NPT 端口样式:有螺纹 特性:放大输出,温度补偿 端子类型:连接器 最高压力:- 工作温度:-20°C ~ 80°C 封装/外壳:探头组件 供应商器件封装:探头组件 标准包装:1
IPSLUAT-AP005-5 功能描述:Pressure Sensor 5 PSI (34.47 kPa) Absolute Male - 1/4" (6.35mm) NPT 4 mA ~ 20 mA Cylinder, Threaded 制造商:cynergy 3 系列:IPSLU 零件状态:有效 压力类型:绝对 工作压力:5 PSI(34.47 kPa) 输出类型:模拟电流 输出:4 mA ~ 20 mA 精度:±0.5% 电压 - 电源:9 V ~ 32 V 端口尺寸:公型 - 1/4"(6.35mm) NPT 端口样式:有螺纹 特性:放大输出,温度补偿 端子类型:连接器 最高压力:75 PSI(517.11 kPa) 工作温度:-20°C ~ 80°C 封装/外壳:圆柱形,有螺纹 供应商器件封装:* 标准包装:1
IPSLUAT-AP010-5 功能描述:Pressure Sensor 10 PSI (68.95 kPa) Absolute Male - 1/4" (6.35mm) NPT 4 mA ~ 20 mA Cylinder, Threaded 制造商:cynergy 3 系列:IPSLU 零件状态:有效 压力类型:绝对 工作压力:10 PSI(68.95 kPa) 输出类型:模拟电流 输出:4 mA ~ 20 mA 精度:±0.5% 电压 - 电源:9 V ~ 32 V 端口尺寸:公型 - 1/4"(6.35mm) NPT 端口样式:有螺纹 特性:放大输出,温度补偿 端子类型:连接器 最高压力:75 PSI(517.11 kPa) 工作温度:-20°C ~ 80°C 封装/外壳:圆柱形,有螺纹 供应商器件封装:* 标准包装:1