test additional instructions
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 11 Apr 2020 10:32:44 +0000 (11:32 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 11 Apr 2020 10:32:44 +0000 (11:32 +0100)
src/soc/experiment/score6600.py

index 2e7602ca71413849ede31d4ad50d0c8f8690ab3d..7303a7e68f6d18b94787e8abba106e9e2c7c9e75 100644 (file)
@@ -298,7 +298,7 @@ class CompUnitBR(CompUnitsBase):
         # hand the same operation to all units
         for alu in self.units:
             comb += alu.oper_i.eq(self.oper_i)
-            comb += alu.imm_i.eq(self.imm_i)
+            #comb += alu.imm_i.eq(self.imm_i)
 
         return m
 
@@ -1104,7 +1104,7 @@ def scoreboard_sim(dut, alusim):
             instrs.append((7, 6, 6, 2, 0, 0, (0, 0)))
             instrs.append((1, 7, 2, 2, 0, 0, (0, 0)))
 
-        if False:
+        if True:
             instrs.append((2, 3, 3, InternalOp.OP_ADD, Function.ALU,
                            0, 0, (0, 0)))
             instrs.append((5, 3, 3, InternalOp.OP_ADD, Function.ALU,