1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00

Adding bursting to test bench

This commit is contained in:
Andreas Olofsson 2015-05-18 15:37:46 -04:00
parent 41f97e45ff
commit 665876cfb4
3 changed files with 24 additions and 11 deletions

View File

@ -164,6 +164,7 @@ module dv_elink(/*AUTOARG*/
//###### //######
//CLOCKS for all //CLOCKS for all
//###### //######
eclocks eclocks (.sys_clk (clk), eclocks eclocks (.sys_clk (clk),
.hard_reset (reset), .hard_reset (reset),
.elink_en (elink0_elink_en), .elink_en (elink0_elink_en),

View File

@ -51,7 +51,7 @@ module dv_elink_tb();
//Forever clock //Forever clock
always always
#1 clk = ~clk; //fast clock #5 clk = ~clk; //system clock (100MHz)
wire clkstim = clk; wire clkstim = clk;

View File

@ -1,10 +1,22 @@
B7B6B5B4_B3B2B1B0_80800000_0f //write to epiphany 00000000_00000000_00000000_00 //dummy
C7C6C5C4_C3C2C1C0_80800008_0f //write to epiphany 00000000_11111111_80800000_0b //write to epiphany
D7D6D5D4_D3D2D1D0_80800010_0f //write to epiphany 00000000_22222222_80800008_0b //write to epiphany
E7E6E5E4_E3E2E1E0_80800018_0f //write to epiphany 00000000_33333333_80800010_0b //write to epiphany
F7F6F5F4_F3F2F1F0_80800020_0f //write to epiphany 00000000_44444444_80800018_0b //write to epiphany
810D0000_B3B2B1B0_80800000_0D //read 00000000_55555555_80800020_0b //write to epiphany
810D0008_C3C2C1C0_80800008_0D //read 810D0000_DEADBEEF_80800000_09 //read
810D0010_D3D2D1D0_80800010_0D //read 810D0008_DEADBEEF_80800008_09 //read
810D0018_E3E2E1E0_80800018_0D //read 810D0008_DEADBEEF_80800010_09 //read
810D0020_F3F2F1F0_80800020_0D //read 810D0018_DEADBEEF_80800018_09 //read
810D0020_DEADBEEF_80800020_09 //read
B7B6B5B4_B3B2B1B0_80800100_0f //write to epiphany
C7C6C5C4_C3C2C1C0_80800108_0f //write to epiphany
D7D6D5D4_D3D2D1D0_80800110_0f //write to epiphany
E7E6E5E4_E3E2E1E0_80800118_0f //write to epiphany
F7F6F5F4_F3F2F1F0_80800120_0f //write to epiphany
810D0100_DEADBEEF_80800100_0d //read
810D0108_DEADBEEF_80800108_0d //read
810D0108_DEADBEEF_80800110_0d //read
810D0118_DEADBEEF_80800118_0d //read
810D0120_DEADBEEF_80800120_0d //read
00000000_00000000_00000000_00 //END OF BURST