whoops not using CompUnitMulti
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 17 Apr 2020 12:05:10 +0000 (13:05 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 17 Apr 2020 12:05:10 +0000 (13:05 +0100)
src/soc/experiment/compalu_multi.py
src/soc/experiment/score6600_multi.py

index f2eda4ed219bcc8187b461586835f91b1e33e52c..56cdd4f929b029c0b7a7935a45f8cba723181f74 100644 (file)
@@ -97,7 +97,7 @@ class ComputationUnitNoDelay(Elaboratable):
         # write_requests all done
         wr_any = Signal(reset_less=True)
         req_done = Signal(reset_less=True)
-        m.d.comb += self.done_o.eq(~(self.req_rel_o.bool())
+        m.d.comb += self.done_o.eq(~(self.req_rel_o.bool()))
         m.d.comb += wr_any.eq(self.go_wr_i.bool())
         m.d.comb += req_done.eq(self.done_o & rst_l.q & wr_any)
 
index 39f0b5a6c6ad688781599b8836826b313d9fd219..a04c1b97abb27a7dcd735315e00b45fbe22abee0 100644 (file)
@@ -15,6 +15,7 @@ from soc.scoreboard.instruction_q import Instruction, InstructionQ
 from soc.scoreboard.memfu import MemFunctionUnits
 
 from soc.experiment.compalu import ComputationUnitNoDelay
+from soc.experiment.compalu_multi import ComputationUnitNoDelay as MultiCompUnit
 from soc.experiment.compldst import LDSTCompUnit
 from soc.experiment.testmem import TestMemory
 
@@ -272,7 +273,7 @@ class CompUnitALUs(CompUnitsBase):
         units = []
         for alu in alus:
             aluopwid = 3  # extra bit for immediate mode
-            units.append(ComputationUnitNoDelay(rwid, alu))
+            units.append(MultiCompUnit(rwid, alu))
 
         CompUnitsBase.__init__(self, rwid, units)