Visible to Intel only — GUID: uzb1635578318763
Ixiasoft
1. Quick Start Guide
2. Detailed Description for CPRI Multirate Design Example
3. Detailed Description for Ethernet Multirate Design Example
4. Detailed Description for Ethernet Multirate Design Example with Auto-Negotiation and Link Training Enabled
5. Detailed Description for PMA/FEC Direct PHY Multirate Design Example
6. Detailed Description for Ethernet to CPRI Design Example
7. F-Tile Dynamic Reconfiguration Design Example User Guide Archives
8. Document Revision History for the F-Tile Dynamic Reconfiguration Design Example User Guide
Visible to Intel only — GUID: uzb1635578318763
Ixiasoft
1.5. Simulating the Design Example Testbench
Pocedue
Follow these steps to simulate the testbech:
- At the commad pompt, chage to the testbech simulatio diectoy <desig_example_di>/example_testbech.
cd <my_desig>/example_testbech
- Ru the simulatio scipt fo the suppoted simulato of you choice. The scipt compiles ad us the testbech i the simulato. Refe to the followig table Commads to Simulate the Testbech i Suppoted Simulatos.
- Aalyze the esults. The successful simulatio displays "Testbech Passed" o "Test Case Passed" message.
Table 8. Commads to Simulate the Testbech i Suppoted Simulatos Simulato Istuctios VCS* I the commad lie, type: sh u_vcs.sh
Note: Dyamic Recofiguatio with AN/LT IP suppots oly VCS simulatos i desig example.VCS* MX I the commad lie, type: sh u_vcsmx.sh
QuestaSim* I the commad lie, type: vsim -do u_vsim.do
If you pefe to simulate without bigig up the GUI, type:vsim -c -do u_vsim.do
Xcelium* I the commad lie, type: sh u_xcelium.sh
The followig sample output illustates a successful simulatio test u fo the CPRI multiate desig example testbech.NIOS is eteig eset NIOS is exitig eset basic_avl_tb_top.cpiphy_d_ed_hw__tiles.z1577a_x0_y0_0.z1577a.z1577a_ist.PROTECTED: The dowsteam compoet is backpessuig by deassetig eady, but the upsteam compoet ca't be backpessued. SIM Mode Covesio TX AM PERIOD Stadad Mode: 163832 Sim Mode: 2552 ** Ifo: Cofiguig ED to CPRI 10G .... ** Ifo: Wait fo DR Ready.... ** Addess offset = 0x0, ReadData = 0x00000002 ** Ifo: Statig CPRI 10G.... ** Addess offset = 0x1, WiteData = 0x00000001 ** Addess offset = 0x2, WiteData = 0x00008006 ** Addess offset = 0x0, ReadData = 0x00000002 ** Ifo: Tigge DR iteupt ** Addess offset = 0x0, WiteData = 0x00000001 ** Ifo: Wait fo DR iteupt Ack.... ** Addess offset = 0x0, ReadData = 0x00000000 ** Ifo: Wait fo DR Cofig to be doe.... ** Addess offset = 0x0, ReadData = 0x00000000 ** Ifo: DONE Recofigue to CPRI 10G .... ** Addess offset = 0x0, WiteData = 0x00000009 ** Addess offset = 0x1, WiteData = 0x00000009 ** Ifo: De-assetig eset to CPRI .... Waitig fo TX eady TX is eady is high at time 689130000 Waitig fo RX eady RX is eady is high at time 709850000 *** sedig packets i pogess, waitig fo checke pass *** ** Chael 0: RX checke has eceived packets coectly! ** PASSED ** Ifo: Cofiguig ED to CPRI 9p8G .... ** Ifo: Wait fo DR Ready.... ** Addess offset = 0x0, ReadData = 0x00000002 ** Ifo: Statig CPRI 9p8G.... ** Addess offset = 0x1, WiteData = 0x00000006 ** Addess offset = 0x2, WiteData = 0x00008007 ** Addess offset = 0x0, ReadData = 0x00000002 ** Ifo: Tigge DR iteupt ** Addess offset = 0x0, WiteData = 0x00000001 ** Ifo: Wait fo DR iteupt Ack.... ** Addess offset = 0x0, ReadData = 0x00000000 ** Ifo: Wait fo DR Cofig to be doe.... ** Addess offset = 0x0, ReadData = 0x00000000 ** Ifo: DONE Recofigue to CPRI 9p8G .... ** Addess offset = 0x0, WiteData = 0x00000006 ** Addess offset = 0x1, WiteData = 0x00000006 ** Ifo: De-assetig eset to CPRI .... Waitig fo TX eady TX is eady is high at time 1561660000 Waitig fo RX eady RX is eady is high at time 1579800000 *** sedig packets i pogess, waitig fo checke pass *** ** Chael 0: RX checke has eceived packets coectly! ** PASSED ** Ifo: Cofiguig ED to CPRI 4p9G .... ** Ifo: Wait fo DR Ready.... ** Addess offset = 0x0, ReadData = 0x00000002 ** Ifo: Statig CPRI 4p9G.... ** Addess offset = 0x1, WiteData = 0x00000007 ** Addess offset = 0x2, WiteData = 0x00008009 ** Addess offset = 0x0, ReadData = 0x00000002 ** Ifo: Tigge DR iteupt ** Addess offset = 0x0, WiteData = 0x00000001 ** Ifo: Wait fo DR iteupt Ack.... ** Addess offset = 0x0, ReadData = 0x00000000 ** Ifo: Wait fo DR Cofig to be doe.... ** Addess offset = 0x0, ReadData = 0x00000000 ** Ifo: DONE Recofigue to CPRI 4p9G .... ** Addess offset = 0x0, WiteData = 0x00000004 ** Addess offset = 0x1, WiteData = 0x00000004 ** Ifo: De-assetig eset to CPRI .... Waitig fo TX eady TX is eady is high at time 2415120000 Waitig fo RX eady RX is eady is high at time 2433780000 *** sedig packets i pogess, waitig fo checke pass *** ** Chael 0: RX checke has eceived packets coectly! ** PASSED ** Ifo: Cofiguig ED to CPRI 2p4G .... ** Ifo: Wait fo DR Ready.... ** Addess offset = 0x0, ReadData = 0x00000002 ** Ifo: Statig CPRI 2p4G.... ** Addess offset = 0x1, WiteData = 0x00000009 ** Addess offset = 0x2, WiteData = 0x0000800b ** Addess offset = 0x0, ReadData = 0x00000002 ** Ifo: Tigge DR iteupt ** Addess offset = 0x0, WiteData = 0x00000001 ** Ifo: Wait fo DR iteupt Ack.... ** Addess offset = 0x0, ReadData = 0x00000000 ** Ifo: Wait fo DR Cofig to be doe.... ** Addess offset = 0x0, ReadData = 0x00000000 ** Ifo: DONE Recofigue to CPRI 2p4G .... ** Addess offset = 0x0, WiteData = 0x00000002 ** Addess offset = 0x1, WiteData = 0x00000002 ** Ifo: De-assetig eset to CPRI .... Waitig fo TX eady TX is eady is high at time 3269140000 Waitig fo RX eady RX is eady is high at time 3287790000 *** sedig packets i pogess, waitig fo checke pass *** ** Chael 0: RX checke has eceived packets coectly! ** PASSED ** Ifo: Cofiguig ED to CPRI 24p3G_RSFEC .... ** Ifo: Wait fo DR Ready.... ** Addess offset = 0x0, ReadData = 0x00000002 ** Ifo: Statig CPRI 24p3G_RSFEC.... ** Addess offset = 0x1, WiteData = 0x0000000b ** Addess offset = 0x2, WiteData = 0x00008001 ** Addess offset = 0x0, ReadData = 0x00000002 ** Ifo: Tigge DR iteupt ** Addess offset = 0x0, WiteData = 0x00000001 ** Ifo: Wait fo DR iteupt Ack.... ** Addess offset = 0x0, ReadData = 0x00000000 ** Ifo: Wait fo DR Cofig to be doe.... ** Addess offset = 0x0, ReadData = 0x00000000 ** Ifo: DONE Recofigue to CPRI 24p3G_RSFEC .... ** Addess offset = 0x0, WiteData = 0x0000001b ** Addess offset = 0x1, WiteData = 0x0000001b ** Ifo: De-assetig eset to CPRI .... Waitig fo TX eady TX is eady is high at time 4158420000 Waitig fo RX eady RX is eady is high at time 4196310000 *** sedig packets i pogess, waitig fo checke pass *** ** Chael 0: RX checke has eceived packets coectly! ** PASSED ** Testbech Completed ** Testbech Passed $fiish called fom file "basic_avl_tb_top.sv", lie 452. $fiish at simulatio time 4196335s
The followig sample output illustates a successful simulatio test u fo the 100G-4 Etheet multiate dyamic ecofiguatio IP coe vaiat.---SRC IP sequece TX ch0 completed ---- ---SRC IP sequece TX ch1 completed ---- ---SRC IP sequece RX ch0 completed ---- ---SRC IP sequece RX ch1 completed ---- ---Test 50G ch 0; ---Total 16 packets to sed ---- Cleaig coutes -----Stat 50G pkt ge TX ---- -----Checkig 50G Packet TX/RX esult ---- ---------- 16 packets Set; 0 packets Received ---- ------ALL 16 packets Set out --- ---------- 16 packets Set; 16 packets Received ---- ------ALL 16 packets Received --- ------50G TX/RX packet check OK --- ---Test 50G ch 1; ---Total 32 packets to sed ---- Cleaig coutes -----Stat 50G pkt ge TX ---- -----Checkig 50G Packet TX/RX esult ---- ---------- 16 packets Set; 0 packets Received ---- ---------- 32 packets Set; 32 packets Received ---- ------ALL 32 packets Set out --- ------ALL 32 packets Received --- ------50G TX/RX packet check OK --- ******************************************* ** Testbech complete ** Testbech Passed ** *******************************************
The followig sample output illustates a successful simulatio test u fo the 50G-1 PMA/FEC Diect PHY Multiate desig example testbech.** Ifo: DONE Recofigue to PMA DIR 50G .... ####### tx_eset, x_eset deasseted ###### 1.08923e+09 The time ow is 1090000s The time ow is 1100000s @1106614s: TX Ready=0, RX Ready=0, veifie_eo=0, veifie_lock =0, ux_locked =0, cd_lockedtoef =1, cd_locktodata= 0, fl_xcv_locked_dut = 0, tx_clkout_feq_valid=0, x_clkout_feq_valid=0 The time ow is 1110000s @1110766s: TX Ready=0, RX Ready=0, veifie_eo=0, veifie_lock =0, ux_locked =1, cd_lockedtoef =1, cd_locktodata= 0, fl_xcv_locked_dut = 0, tx_clkout_feq_valid=0, x_clkout_feq_valid=0 The time ow is 1120000s @1126396s: TX Ready=1, RX Ready=0, veifie_eo=0, veifie_lock =0, ux_locked =1, cd_lockedtoef =1, cd_locktodata= 0, fl_xcv_locked_dut = 0, tx_clkout_feq_valid=0, x_clkout_feq_valid=0 @1127420s: TX Ready=1, RX Ready=0, veifie_eo=0, veifie_lock =0, ux_locked =1, cd_lockedtoef =1, cd_locktodata= 0, fl_xcv_locked_dut = 0, tx_clkout_feq_valid=1, x_clkout_feq_valid=0 @1128074s: TX Ready=1, RX Ready=0, veifie_eo=0, veifie_lock =0, ux_locked =1, cd_lockedtoef =1, cd_locktodata= 1, fl_xcv_locked_dut = 1, tx_clkout_feq_valid=1, x_clkout_feq_valid=0 The time ow is 1130000s The time ow is 1140000s @1144500s: TX Ready=1, RX Ready=1, veifie_eo=0, veifie_lock =0, ux_locked =1, cd_lockedtoef =1, cd_locktodata= 1, fl_xcv_locked_dut = 1, tx_clkout_feq_valid=1, x_clkout_feq_valid=0 @1144815s: TX Ready=1, RX Ready=1, veifie_eo=0, veifie_lock =1, ux_locked =1, cd_lockedtoef =1, cd_locktodata= 1, fl_xcv_locked_dut = 1, tx_clkout_feq_valid=1, x_clkout_feq_valid=0 @1145521s: TX Ready=1, RX Ready=1, veifie_eo=0, veifie_lock =1, ux_locked =1, cd_lockedtoef =1, cd_locktodata= 1, fl_xcv_locked_dut = 1, tx_clkout_feq_valid=1, x_clkout_feq_valid=1 test_pass asseted at 1148815s Test case passed Oveall DR test passed Simulatio passed
The followig sample output illustates a successful simulatio test u fo the Etheet to CPRI desig example testbech.
The time ow is 630000s The time ow is 6400000s The time ow is 650000s The time ow is 660000s The time ow is 670000s The time ow is 680000s ** Ifo: Statig CPRI4.9G cofiguatio.... ** Ifo: Tigge DR iteupt ** Ifo: Wait fo DR iteupt Ack.... ** Ifo: Wait fo DR Cofig to be doe.... The time ow is 690000s The time ow is 700000s The time ow is 710000s The time ow is 720000s The time ow is 730000s The time ow is 740000s ** Ifo: Pogam DUT soft CSR .... The time ow is 750000s ** Ifo: DONE Recofigue to CPRI 4.9G.... ** Ifo: De-assetig eset to CPRI .... ---SRC IP sequece stated ----- Waitig fo TX eady The time ow is 760000s The time ow is 770000s TX is eady is high at time 777412533 Waitig fo RX eady The time ow is 780000s The time ow is 790000s RX is eady is high at time 794088533 *** sedig packets i pogess, waitig fo checke pass *** ** Chael 0: RX checke has eceived packets coectly! ** PASSED ** ***************************************** ** Testbech complete ** Testbech Passed ** ***************************************** $fiish called fom file "basic_avl_tb_top.sv", lie 2251.