sigh, remove yet another int regfile read port
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 11 Aug 2020 14:22:08 +0000 (15:22 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 11 Aug 2020 14:22:08 +0000 (15:22 +0100)
src/soc/regfile/regfiles.py
src/soc/simple/core.py

index c3abdf004f2f89f4c113ac7016caf9636d08c927..0f29bb8fdc0d6846cf9482dfdf16620b51249a4f 100644 (file)
@@ -70,8 +70,8 @@ class IntRegs(RegFileArray):
         self.w_ports = {'o': self.write_port("dest1"),
                         #'o1': self.write_port("dest2") # for now (LD/ST update)
                         }
-        self.r_ports = {'ra': self.read_port("src1"),
-                        'rbc': self.read_port("src3"),
+        self.r_ports = {'rabc': self.read_port("src1"),
+                        #'rbc': self.read_port("src3"),
                         'dmi': self.read_port("dmi")} # needed for Debug (DMI)
 
 
index 71a9324387dd3f41a36af14462eeb001a67925d6..421180850201345b767f4432c9c28cbe7f767cf4 100644 (file)
@@ -268,8 +268,9 @@ class NonProductionCore(Elaboratable):
             # argh.  an experiment to merge RA and RB in the INT regfile
             # (we have too many read/write ports)
             if regfile == 'INT':
-                fuspecs['rbc'] = [fuspecs.pop('rb')]
-                fuspecs['rbc'].append(fuspecs.pop('rc'))
+                fuspecs['rabc'] = [fuspecs.pop('rb')]
+                fuspecs['rabc'].append(fuspecs.pop('rc'))
+                fuspecs['rabc'].append(fuspecs.pop('ra'))
             if regfile == 'FAST':
                 fuspecs['fast1'] = [fuspecs.pop('fast1')]
                 fuspecs['fast1'].append(fuspecs.pop('fast2'))