Remove the monitor process
authorCesar Strauss <cestrauss@gmail.com>
Wed, 27 May 2020 09:23:58 +0000 (06:23 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Wed, 27 May 2020 09:25:17 +0000 (06:25 -0300)
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

index beb2179ad6de7e2382dc215f77dae687c7769ee5..ec07a64e1ef9ea8ebaa26d6a5a305520318ce21c 100644 (file)
@@ -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)