From 1312032afa6b73c6209737b3ab13a3da69a221f2 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 20 Apr 2020 10:22:06 +0100 Subject: [PATCH] changes to LDSTCompUnit, get score6600 working --- src/soc/experiment/score6600_multi.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/soc/experiment/score6600_multi.py b/src/soc/experiment/score6600_multi.py index 53d27ee9..64696245 100644 --- a/src/soc/experiment/score6600_multi.py +++ b/src/soc/experiment/score6600_multi.py @@ -249,8 +249,7 @@ class CompUnitLDSTs(CompUnitsBase): units = [] for alu in self.alus: - aluopwid = 4 # see compldst.py for "internal" opcode - units.append(LDSTCompUnit(rwid, aluopwid, alu, mem)) + units.append(LDSTCompUnit(rwid, alu, mem)) CompUnitsBase.__init__(self, rwid, units, ldstmode=True) @@ -261,7 +260,7 @@ class CompUnitLDSTs(CompUnitsBase): # hand the same operation to all units, 4 lower bits though for alu in self.units: comb += alu.oper_i[0:4].eq(self.oper_i) - comb += alu.imm_i.eq(self.imm_i) + #comb += alu.imm_i.eq(self.imm_i) comb += alu.isalu_i.eq(0) return m -- 2.30.2