aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-02 09:44:24 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-02 09:44:24 +0200
commitd01e425a482913f782cb74cd4625823b340d8112 (patch)
treec9b038569ed3a6fcae2d9d22b09bf11bfad4cec3
parent4743aa2c82e8c38935f6ae43e71a5f45e776556e (diff)
downloadAGH-engineering-thesis-d01e425a482913f782cb74cd4625823b340d8112.tar.gz
AGH-engineering-thesis-d01e425a482913f782cb74cd4625823b340d8112.zip
remove old debugging code
-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,