From d78961a84e74cd4ecca2f50db7c8fc56e78509b3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 6 Oct 2020 18:18:09 +0100 Subject: [PATCH] comments --- src/soc/decoder/power_decoder2.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- 2.30.2