comments
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 6 Oct 2020 17:18:09 +0000 (18:18 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 6 Oct 2020 17:18:09 +0000 (18:18 +0100)
src/soc/decoder/power_decoder2.py

index 5e89916a28d5f9d3d6a5ed7588f7a53cfb0df4c3..32cd73321f8c07d59578229a97be261a33b2da2a 100644 (file)
@@ -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: