aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simtop.v
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2023-04-20 16:23:23 +0000
committerGravatar Peter McGoron 2023-04-20 16:23:23 +0000
commit2119ec275bf51fbc393f352618e1aa3d23f4104f (patch)
treeb39d2f504ab06a94d96f6c95c936e788b26f227c /tests/simtop.v
parentmetastability comment (diff)
add ready_to_arm to indiciate when the module can accept another command
Diffstat (limited to '')
-rw-r--r--tests/simtop.v6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/simtop.v b/tests/simtop.v
index a1461bc..71981a8 100644
--- a/tests/simtop.v
+++ b/tests/simtop.v
@@ -26,6 +26,7 @@ module simtop
`endif
input rdy,
output master_finished,
+ output ready_to_arm,
output err
);
@@ -74,6 +75,7 @@ reg slave_error;
`endif
.sck_wire(sck),
.finished(master_finished),
+ .ready_to_arm(ready_to_arm),
.arm(activate)
);
@@ -99,11 +101,11 @@ reg slave_error;
.err(err)
);
-/*
+`ifdef SIMULATION
initial begin
$dumpfile(`VCDFILE);
$dumpvars;
end
-*/
+`endif
endmodule