Code Browser Pages:
Files in
vmm_eth.tar



call_back.sv
cfg_intf.sv
cfg_xtor.sv
chan.sv
cov.sv
env.sv
file_list
host_driver.sv
host_intf.sv
host_xtor_rx.sv
host_xtor.sv
phy_driver.sv
phy_intf.sv
phy_xtor_rx.sv
phy_xtor.sv
pkt_generator_rx.sv
pkt_generator.sv
pkt.sv
Current file: pro.sv
run
rx_pkt.sv
sb.sv
tb_top.v
timescale.v
top.sv
verilog_top.v




// by gopi@testbench.in

constraint rx_packet::test_case { length  == 70 ; FCS_t == FCS_GOOD;TAG_t == NOTAG; SFD_t == SFD_GOOD ; PREAM_t == PREAM_EQL7;}
constraint packet::test_case {  length > 70 ; length < 1000 ; TAG_t == NOTAG; }

program main(host_intf h_if,phy_intf  p_if,cfg_intf  c_if);

initial
 begin
   env e;
   bit status;
   e = new(h_if,p_if,c_if);
   e.set_rx_num_pkts(10);
   e.set_tx_num_pkts(1);
   e.Set_timeout(20000000);
   e.run();
 end

endprogram