From db2f24539688e8e569380cdf3270c0d5bb268fc2 Mon Sep 17 00:00:00 2001 From: Cesar Strauss Date: Wed, 27 May 2020 06:23:58 -0300 Subject: [PATCH] Remove the monitor process It may be useful for debugging, but GTKWave is better. It has served well its purpose, when first setting up the simulation. Can be added back if needed. --- src/soc/experiment/compalu_multi.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/soc/experiment/compalu_multi.py b/src/soc/experiment/compalu_multi.py index beb2179a..ec07a64e 100644 --- a/src/soc/experiment/compalu_multi.py +++ b/src/soc/experiment/compalu_multi.py @@ -443,14 +443,6 @@ class CompUnitParallelTest: print("If you are reading this, " "it's because the above test unexpectedly passed.") - def monitor(self): - # TODO: as a while-loop. first loop on busy *not* set, - # then loop on busy *is* set. (see ldst comp for suitable function) - for i in range(10): - busy_o = yield self.dut.busy_o - print(" Monitor: busy_o =", busy_o) - yield - def rd(self, rd_idx): # monitor self.dut.rd.req[rd_idx] and sets dut.rd.go[idx] for one cycle yield @@ -465,7 +457,6 @@ class CompUnitParallelTest: def run_simulation(self, vcd_name): run_simulation(self.dut, [self.driver(), - self.monitor(), self.rd(0), # one read port (a) self.rd(1), # one read port (b) self.wr(0), # one write port (o) -- 2.30.2