rename nia_out to just nia, we know it is an output
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 17 May 2020 17:43:55 +0000 (18:43 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 17 May 2020 17:43:55 +0000 (18:43 +0100)
src/soc/branch/pipe_data.py

index 2ca8a8476241eaf541b18b14e5914b52c1ff4be8..0ef4f000fbeb44747cc846271aa8a288d3d6a45b 100644 (file)
@@ -73,7 +73,7 @@ class BranchOutputData(IntegerData):
         super().__init__(pspec)
         self.lr = Data(64, name="lr")
         self.spr = Data(64, name="spr")
-        self.nia_out = Data(64, name="nia_out")
+        self.nia = Data(64, name="nia")
 
         # convenience variables.
         self.ctr = self.spr
@@ -82,9 +82,9 @@ class BranchOutputData(IntegerData):
         yield from super().__iter__()
         yield from self.lr
         yield from self.spr
-        yield from self.nia_out
+        yield from self.nia
 
     def eq(self, i):
         lst = super().eq(i)
         return lst + [self.lr.eq(i.lr), self.spr.eq(i.spr),
-                      self.nia_out.eq(i.nia_out)]
+                      self.nia.eq(i.nia)]