参数资料
型号: IPR-SLITE2
厂商: Altera
文件页数: 104/110页
文件大小: 0K
描述: IP SERIALLITE II RENEW
标准包装: 1
系列: *
类型: MegaCore
功能: SerialLite II 协议
许可证: 续用许可证
5–18
Chapter 5: Testbench
Example Testbench – Verilog HDL
Table 5–12. Example of a Demonstration Testbench (Part 2 of 5)
Main Section
fork
begin
//////////////////////////////////////////////
// Generate RDP packets for DUT
//////////////////////////////////////////////
@(posedge trefclk);
agen_dat_dut.verbose(1);
agen_dat_dut.ipg(0,5);
amon_dat_sis.verbose(1);
fork
while (pkt_cnt_dat_dut > 0) begin : send_loop_dat_dut
integer size;
integer err;
reg [7:0] addr;
addr = $dist_uniform(seed,0,255);
size = $dist_uniform(seed,1,1024);
err = $dist_uniform(seed,0,1);
agen_dat_dut.send_packet(addr,size,err);
reset_watchdog_timer;
pkt_cnt_dat_dut = pkt_cnt_dat_dut - 1;
end
begin
fork
amon_dat_sis.wait_all_packets(packets_to_send);
join
end
Comments
Launch multiple send packet loops in parallel.
Send regular data packets (on Atlantic interface) to the
DUT.
AGEN and AMON instantiations are set to display verbose
messages.
Set AGEN to insert random inner packet gaps.
Launch two processes in parallel:
- Send regular data packets to the DUT.
Define packet size, error, address.
Packet address is a random number from 0 to 255.
Packet size is a random number from 1 to 1,024.
Packet err is a random number from 0 to 1.
Call the AGEN send packet task (regular data, DUT).
Reset watchdog with every packet being sent.
Repeat this loop pkt_c n t_dat_dut times.
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描述
EBM28DRMN-S288 CONN EDGECARD 56POS .156 EXTEND
RSM08DTKI-S288 CONN EDGECARD 16POS .156 EXTEND
ECM06DTMD-S273 CONN EDGECARD 12POS R/A .156 SLD
ECM06DTMN-S273 CONN EDGECARD 12POS R/A .156 SLD
RBM12DCCI-S189 CONN EDGECARD 24POS R/A .156 SLD
相关代理商/技术参数
参数描述
IPR-SRAM/QDRII 功能描述:开发软件 QDRII SRAM Control MegaCore RENEWAL RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
IPR-SSIP 功能描述:开发软件 Crypto Bundle BU Solution RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
IPR-TRIETHERNET 功能描述:开发软件 Triple Speed Ethernt MegaCore RENEWAL RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
IPR-TRIETHERNETF 功能描述:开发软件 3x Spd Ethernet MAC MegaCore RENEWAL RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
IP-R-UNIV-CORE 制造商:Brady Corporation 功能描述:UNIVERSAL RIBBON CORE; For Use With:Bradys IP Printer ;RoHS Compliant: NA