URL
https://opencores.org/ocsvn/plb2wbbridge/plb2wbbridge/trunk
Subversion Repositories plb2wbbridge
[/] [plb2wbbridge/] [trunk/] [systems/] [test_system_sim/] [32bit_on_128bitPLB_syn/] [simulation/] [test_cases/] [stressful_read_write/] [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=f0000000,data=11223344_22223344_33223344_44223344)
mem_update(addr=f0000010,data=01111111_02111111_03111111_04111111)
mem_update(addr=f0000020,data=01222211_02222211_03222211_04222211)
mem_update(addr=f0000030,data=01333311_02333311_03333311_04333311)
mem_update(addr=f1000000,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f1000010,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f1000020,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f1000030,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f2000000,data=11abcdef_22abcdef_33abcdef_44abcdef)
mem_update(addr=f3000000,data=11222222_22222222_33222222_44222222)
mem_update(addr=f3000010,data=01111111_02111111_03111111_04111111)
mem_update(addr=f3000020,data=01222211_02222211_03222211_04222211)
mem_update(addr=f3000030,data=01333311_02333311_03333311_04333311)
wait( level=SUBPART )
write ( addr=f0000000, size=0000, be=1111 )
write ( addr=f1000000, size=0000, be=1111 )
write ( addr=f2000000, size=0001, be=1111 )
write ( addr=f3000000, size=1010, be=1000 )
write ( addr=f2000000, size=0001, be=1111 )
write ( addr=f3000000, size=1010, be=1000 )
write ( addr=f1000000, size=0000, be=1111 )
write ( addr=f0000000, size=1010, be=0111 )
write ( addr=f1000000, size=1010, be=1000 )
-- this causes several address-pipelining situations
read ( addr=f1000000, size=0000, be=1111 )
read ( addr=f2000000, size=0000, be=1111 )
read ( addr=f2000000, size=0001, be=1111 )
read ( addr=f1000000, size=0000, be=1111 )
read ( addr=f1000000, size=1010, be=0011 )
read ( addr=f2000000, size=1010, be=0011 )
read ( addr=f2000000, size=0001, be=1111 )
read ( addr=f1000000, size=1010, be=0100 )
read ( addr=f2000000, size=0000, be=1111 )
read ( addr=f2000000, size=1010, be=0001 )
wait( level = SUBSUBPART )
wait( level = SUBSUBPART )
wait( level = SUBSUBPART )
write ( addr=f0000000, size=0000, be=1111 )
read ( addr=f0000000, size=0000, be=1111 )
write ( addr=f1000000, size=0001, be=1111 )
read ( addr=f1000000, size=0001, be=1111 )
write ( addr=f2000000, size=0000, be=1111 )
read ( addr=f2000000, size=0000, be=1111 )
write ( addr=f3000000, size=0001, be=1111 )
read ( addr=f3000000, size=0001, be=1111 )
write ( addr=f2000000, size=0000, be=1111 )
read ( addr=f2000000, size=0001, be=1111 )
read ( addr=f2000000, size=0001, be=1111 )
write ( addr=f2000000, size=0000, be=1111 )
write ( addr=f2000000, size=0000, be=1111 )
read ( addr=f2000000, size=1010, be=0011 )
write ( addr=f3000000, size=0001, be=1111 )
read ( addr=f3000000, size=0000, be=1111 )
write ( addr=f2000000, size=1010, be=0001 )
read ( addr=f2000000, size=0001, be=1111 )
read ( addr=f2000000, size=1010, be=0011 )
write ( addr=f2000000, size=0000, be=1111 )
---------------------------------
-- 64-Bit Master --
set_device(path=/system_tb/dut/plb_bfm_master_64/plb_bfm_master_64/master,device_type=plb_master)
configure(msize=01)
mem_update(addr=f0000000,data=11223344_22223344_33223344_44223344)
mem_update(addr=f0000010,data=01111111_02111111_03111111_04111111)
mem_update(addr=f0000020,data=01222211_02222211_03222211_04222211)
mem_update(addr=f0000030,data=01333311_02333311_03333311_04333311)
mem_update(addr=f1000000,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f1000010,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f1000020,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f1000030,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f2000000,data=11abcdef_22abcdef_33abcdef_44abcdef)
mem_update(addr=f3000000,data=11222222_22222222_33222222_44222222)
mem_update(addr=f3000010,data=01111111_02111111_03111111_04111111)
mem_update(addr=f3000020,data=01222211_02222211_03222211_04222211)
mem_update(addr=f3000030,data=01333311_02333311_03333311_04333311)
wait( level=PART )
wait( level=PART )
write ( addr=f0000000, size=0000, be=11111111 )
write ( addr=f1000000, size=0000, be=11111111 )
write ( addr=f2000000, size=0001, be=11111111 )
write ( addr=f3000000, size=1010, be=10000000 )
write ( addr=f2000000, size=0001, be=11111111 )
write ( addr=f3000000, size=1010, be=10000000 )
write ( addr=f1000000, size=0000, be=11111111 )
write ( addr=f0000000, size=1010, be=01110000 )
write ( addr=f1000000, size=1010, be=10000000 )
-- this causes several address-pipelining situations
read ( addr=f1000000, size=0000, be=11111111 )
read ( addr=f2000000, size=0000, be=11111111 )
read ( addr=f2000000, size=0001, be=11111111 )
read ( addr=f1000000, size=0000, be=11111111 )
read ( addr=f1000000, size=1010, be=00110000 )
read ( addr=f3000000, size=1010, be=00110000 )
read ( addr=f2000000, size=0001, be=11111111 )
read ( addr=f1000000, size=1010, be=00100000 )
read ( addr=f2000000, size=0000, be=11111111 )
read ( addr=f2000000, size=1010, be=00010000 )
wait( level = SUBSUBPART )
wait( level = SUBSUBPART )
wait( level = SUBSUBPART )
write ( addr=f0000000, size=0000, be=11111111 )
read ( addr=f0000000, size=0000, be=11111111 )
write ( addr=f1000000, size=0001, be=11111111 )
read ( addr=f1000000, size=0001, be=11111111 )
write ( addr=f2000000, size=0000, be=11111111 )
read ( addr=f2000000, size=0000, be=11111111 )
write ( addr=f3000000, size=0001, be=11111111 )
read ( addr=f3000000, size=0001, be=11111111 )
write ( addr=f2000000, size=0000, be=11111111 )
read ( addr=f2000000, size=0001, be=11111111 )
read ( addr=f2000000, size=0001, be=11111111 )
write ( addr=f2000000, size=0000, be=11111111 )
write ( addr=f2000000, size=0000, be=11111111 )
read ( addr=f2000000, size=1010, be=00110000 )
write ( addr=f3000000, size=0001, be=11111111 )
read ( addr=f3000000, size=0000, be=11111111 )
write ( addr=f2000000, size=1010, be=00010000 )
read ( addr=f2000000, size=0001, be=11111111 )
read ( addr=f2000000, size=1010, be=00110000 )
write ( addr=f2000000, size=0000, be=11111111 )
---------------------------------
-- 128-Bit Master --
set_device(path=/system_tb/dut/plb_bfm_master_128/plb_bfm_master_128/master,device_type=plb_master)
configure(msize=10)
mem_update(addr=f0000000,data=11223344_22223344_33223344_44223344)
mem_update(addr=f0000010,data=01111111_02111111_03111111_04111111)
mem_update(addr=f0000020,data=01222211_02222211_03222211_04222211)
mem_update(addr=f0000030,data=01333311_02333311_03333311_04333311)
mem_update(addr=f1000000,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f1000010,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f1000020,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f1000030,data=11eeffee_22eeffee_33eeffee_44eeffee)
mem_update(addr=f2000000,data=11abcdef_22abcdef_33abcdef_44abcdef)
mem_update(addr=f3000000,data=11222222_22222222_33222222_44222222)
mem_update(addr=f3000010,data=01111111_02111111_03111111_04111111)
mem_update(addr=f3000020,data=01222211_02222211_03222211_04222211)
mem_update(addr=f3000030,data=01333311_02333311_03333311_04333311)
wait( level=PART )
wait( level=PART )
wait( level=PART )
wait( level=PART )
write ( addr=f0000000, size=0000, be=1111111111111111 )
write ( addr=f1000000, size=0000, be=1111111111111111 )
write ( addr=f2000000, size=0001, be=1111111111111111 )
write ( addr=f3000000, size=1010, be=1000000000000000 )
write ( addr=f2000000, size=0001, be=1111111111111111 )
write ( addr=f3000000, size=1010, be=1000000000000000 )
write ( addr=f1000000, size=0000, be=1111111111111111 )
write ( addr=f0000000, size=1010, be=0111000000000000 )
-- this causes several address-pipelining situations
read ( addr=f1000000, size=0000, be=1111111111111111 )
read ( addr=f2000000, size=0000, be=1111111111111111 )
read ( addr=f2000000, size=0001, be=1111111111111111 )
read ( addr=f1000000, size=0000, be=1111111111111111 )
read ( addr=f1000000, size=1010, be=0011000000000000 )
read ( addr=f3000000, size=1010, be=0011000000000000 )
read ( addr=f2000000, size=0001, be=1111111111111111 )
read ( addr=f1000000, size=1010, be=0100000000000000 )
read ( addr=f2000000, size=0000, be=1111111111111111 )
read ( addr=f2000000, size=1010, be=0001000000000000 )
wait( level = SUBSUBPART )
write ( addr=f0000000, size=0000, be=1111111111111111 )
read ( addr=f0000000, size=0000, be=1111111111111111 )
write ( addr=f1000000, size=0001, be=1111111111111111 )
read ( addr=f1000000, size=0001, be=1111111111111111 )
write ( addr=f2000000, size=0000, be=1111111111111111 )
read ( addr=f2000000, size=0000, be=1111111111111111 )
write ( addr=f3000000, size=0001, be=1111111111111111 )
read ( addr=f3000000, size=0001, be=1111111111111111 )
write ( addr=f2000000, size=0000, be=1111111111111111 )
read ( addr=f2000000, size=0001, be=1111111111111111 )
read ( addr=f2000000, size=0001, be=1111111111111111 )
write ( addr=f2000000, size=0000, be=1111111111111111 )
write ( addr=f2000000, size=0000, be=1111111111111111 )
read ( addr=f2000000, size=1010, be=0011000000000000 )
write ( addr=f3000000, size=0001, be=1111111111111111 )
read ( addr=f3000000, size=0000, be=1111111111111111 )
write ( addr=f2000000, size=1010, be=0001000000000000 )
read ( addr=f2000000, size=0001, be=1111111111111111 )
read ( addr=f2000000, size=1010, be=0011000000000000 )
write ( addr=f2000000, size=0000, be=1111111111111111 )