aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/stack_machine_store/test.v12
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/stack_machine_store/test.v b/tests/stack_machine_store/test.v
index 4c2326a..b73e5de 100644
--- a/tests/stack_machine_store/test.v
+++ b/tests/stack_machine_store/test.v
@@ -108,16 +108,8 @@ module stack_machine_test();
CLK <= ~CLK;
- if (CLK) begin
- RST <= 0;
- `DBG(({"step: %0d just_received: %d r0: h%x ",
- "r1: h%x im: %b sp: h%x atu: h%x ia: %d"},
- stack_machine.step,
- stack_machine.instruction_just_received, stack_machine.r0,
- stack_machine.r1, stack_machine.im, stack_machine.sp,
- stack_machine.addr_to_use,
- stack_machine.immediate_addressing));
- end
+ if (CLK)
+ RST <= 0;
if (M_finished) begin
$readmemh("words_to_verify.mem", words_to_verify,