参数资料
型号: IPR-SLITE2
厂商: Altera
文件页数: 105/110页
文件大小: 0K
描述: IP SERIALLITE II RENEW
标准包装: 1
系列: *
类型: MegaCore
功能: SerialLite II 协议
许可证: 续用许可证
Chapter 5: Testbench
Example Testbench – Verilog HDL
Table 5–12. Example of a Demonstration Testbench (Part 3 of 5)
Main Section
begin
Comments
5–19
/////////////////////////////////////////////
/
// Generate RDP packets for SISTER
/////////////////////////////////////////////
/
@(posedge trefclk);
agen_dat_sis.verbose(1);
agen_dat_sis.ipg(0,5);
amon_dat_dut.verbose(1);
fork
while ( pkt_cnt_dat_sis > 0 ) begin :
send_loop_dat_sis
integer size;
integer err;
Send regular data packets (on Atlantic interface) to the
SISTER 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 regular data packets to the SISTER.
Define packet size, error, address.
reg [7:0] addr;
Packet address is a random number from 0 to 255.
addr = $dist_uniform(seed,0,255);
size = $dist_uniform(seed,1,1024);
err = $dist_uniform(seed,0,1);
agen_dat_sis.send_packet(addr,size,err);
reset_watchdog_timer;
pkt_cnt_dat_sis = pkt_cnt_dat_sis - 1;
end
begin
amon_dat_dut.wait_all_packets(packets_to_send
);
end
join
end
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, SISTER).
Reset watchdog with every packet being sent.
Repeat this loop pkt_c n t_dat_ s i s times.
- Wait for the other side (Atlantic interface of the DUT) to
receive all these packets.
January 2014
Altera Corporation
SerialLite II MegaCore Function
User Guide
相关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