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

Connecting wait output from e16_model

This commit is contained in:
Andreas Olofsson 2015-05-02 21:29:43 -04:00
parent 130caa64b6
commit 56fa70c0dd
2 changed files with 5 additions and 14 deletions

View File

@ -151,8 +151,8 @@ module dv_elink(/*AUTOARG*/
assign elink0_txwr_packet[PW-1:0] = ext_packet[PW-1:0];
//TX Pushback
assign dut_rd_wait = elink0_txrd_wait;
assign dut_wr_wait = elink0_txwr_wait;
assign dut_rd_wait = elink0_txrd_wait | elink2_wait_out;
assign dut_wr_wait = elink0_txwr_wait | elink2_wait_out ;
//Getting results back
assign dut_access = elink0_rxrr_access;
@ -315,7 +315,7 @@ module dv_elink(/*AUTOARG*/
.c0_mesh_datamode_out(),
.c0_mesh_ctrlmode_out(),
.c0_emesh_wait_out (),
.c0_mesh_wait_out (),
.c0_mesh_wait_out (elink2_wait_out),
// Inputs
.reset (reset),
.c0_clk_in (clk[1]),
@ -333,16 +333,7 @@ module dv_elink(/*AUTOARG*/
.c0_mesh_srcaddr_in(ext_packet[103:72]),
.c0_mesh_data_in (ext_packet[71:40]),
.c0_mesh_datamode_in(ext_packet[3:2]),
.c0_mesh_ctrlmode_in(ext_packet[7:4]),
.c0_mesh_wait_in (1'b0),
.c0_emesh_wait_in (1'b0),
.c0_rdmesh_wait_in (1'b0),
.c1_rdmesh_wait_in (1'b0),
.c2_rdmesh_wait_in (1'b0),
.c3_emesh_wait_in (1'b0),
.c3_mesh_wait_in (1'b0),
.c3_rdmesh_wait_in (1'b0),
.txo_cfg_reg (6'b0)
.c0_mesh_ctrlmode_in(ext_packet[7:4])
);

View File

@ -78,7 +78,7 @@ module dv_elink_tb();
`ifdef AUTO
go = 1'b0;
`endif
#20000
#80000
$finish;
end