Skip to content
Snippets Groups Projects

Resolve L2SDP-837 "B"

Merged Eric Kooistra requested to merge L2SDP-837b into master
Files
19
@@ -28,11 +28,20 @@
-- > run 1 us.
--
-- Or try some MM:
-- > as 12
-- > run -a (or run 100 us)
-- On command line do:
-- > python $UPE_GEAR/peripherals/util_system_info.py --gn 0 -n 0 -v 5 --sim
-- > python $UPE_GEAR/peripherals/pi_diag_block_gen_reg.py --gn 0 -s ETH_0 --reg gapsize=199999000
--
-- To run BG eth_tester in simuation do:
-- > run -a (or run 1 ms)
-- > tc_unb2_test_eth_sim_start.sh
-- > tc_unb2_test_eth_sim_stop.sh
-- or use python script:
-- . use -n 10000 packets/s to have 1 packet per BG sync interval of 100 us in sim
-- > tc_unb2_test_eth.py --gn2 0 --stream 0 -n 10000 --dest loopback --range 1000,1001,1 --interval 100 --scheme tx --sim
-- stop simulation.
LIBRARY IEEE;
USE IEEE.std_logic_1164.ALL;
@@ -57,6 +66,8 @@ BEGIN
eth_clk(0) <= NOT eth_clk(0) AFTER 8 ns;
eth_clk(1) <= NOT eth_clk(1) AFTER 8 ns;
pps <= NOT pps AFTER 80 ns;
eth_sgin <= eth_sgout; -- loopback eth0 and eth1
u_unb2c_test_1GbE_I : ENTITY work.unb2c_test_1GbE_I
@@ -76,7 +87,6 @@ BEGIN
ID => "00000000",
TESTIO => OPEN,
-- 1GbE Control Interface
ETH_CLK => eth_clk,
ETH_SGIN => eth_sgin,
Loading