URL
https://opencores.org/ocsvn/plb2wbbridge/plb2wbbridge/trunk
Subversion Repositories plb2wbbridge
[/] [plb2wbbridge/] [trunk/] [systems/] [test_system_sim/] [wb_err_and_rst/] [simulation/] [test_cases/] [timeouts/] [transfers.bfl] - Rev 2
Compare with Previous | Blame | View Log
set_alias(PART = 1)
set_alias(SUBPART = 2)
set_alias(SUBSUBPART = 3)
---------------------------------
-- 32-Bit Master --
set_device(path=/system_tb/dut/plb_bfm_master_32/plb_bfm_master_32/master,device_type=plb_master)
configure(msize=00)
mem_update(addr=00010000,data=00000000_00000000_00000000_00000000)
mem_update(addr=00010010,data=00000000_00000000_00000000_00000000)
mem_update(addr=f4000000,data=11000001_11000002_11000003_11000004)
mem_update(addr=f4000010,data=11111111_11111112_11111113_11111114)
mem_update(addr=f4000020,data=11222221_11222222_11222223_11222224)
mem_update(addr=f4000030,data=11333331_11333332_11333333_11333334)
mem_update(addr=f5000000,data=22000001_22000002_22000003_22000004)
mem_update(addr=f5000010,data=22111111_22111112_22111113_22111114)
mem_update(addr=f5000020,data=22222221_22222222_22222223_22222224)
mem_update(addr=f5000030,data=22333331_22333332_22333333_22333334)
wait( level=SUBSUBPART )
wait( level=SUBSUBPART )
write ( addr=f4000000, size=1010, be=1111 )
read ( addr=f4000000, size=0000, be=1111 )
read ( addr=f4000010, size=1010, be=0010 )
read ( addr=f4000000, size=0001, be=1111 )
wait( level=SUBPART )
wait( level=SUBPART )
-- this leads to a write stall
write ( addr=f5000000, size=1010, be=1111 )
wait( level=SUBSUBPART )
wait( level=SUBSUBPART )
write ( addr=00010000, size=0000, be=1111 )
write ( addr=00010004, size=0000, be=1111 )