From 806fa3394e467195840314f0dab9d5dafeaae231 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 17 May 2020 18:43:55 +0100 Subject: [PATCH] rename nia_out to just nia, we know it is an output --- src/soc/branch/pipe_data.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/soc/branch/pipe_data.py b/src/soc/branch/pipe_data.py index 2ca8a847..0ef4f000 100644 --- a/src/soc/branch/pipe_data.py +++ b/src/soc/branch/pipe_data.py @@ -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)] -- 2.30.2