From: Luke Kenneth Casson Leighton Date: Tue, 6 Oct 2020 17:18:09 +0000 (+0100) Subject: comments X-Git-Tag: 24jan2021_ls180~203 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d78961a84e74cd4ecca2f50db7c8fc56e78509b3;p=soc.git comments --- diff --git a/src/soc/decoder/power_decoder2.py b/src/soc/decoder/power_decoder2.py index 5e89916a..32cd7332 100644 --- a/src/soc/decoder/power_decoder2.py +++ b/src/soc/decoder/power_decoder2.py @@ -632,9 +632,11 @@ class PowerDecodeSubset(Elaboratable): if opkls is None: opkls = Decode2ToOperand self.do = opkls(fn_name) + col_subset = self.get_col_subset(self.do) + + # only needed for "main" PowerDecode2 if not self.final: self.e = Decode2ToExecute1Type(name=self.fn_name, do=self.do) - col_subset = self.get_col_subset(self.do) # create decoder if one not already given if dec is None: