From: Cesar Strauss Date: Wed, 27 May 2020 09:23:58 +0000 (-0300) Subject: Remove the monitor process X-Git-Tag: div_pipeline~801^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db2f24539688e8e569380cdf3270c0d5bb268fc2;p=soc.git 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. --- 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)