must pass in conditions into Sub-decoders
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 24 Jun 2021 19:10:52 +0000 (20:10 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 24 Jun 2021 19:10:52 +0000 (20:10 +0100)
src/openpower/decoder/power_decoder.py

index 4fe3d7e6add3ccf3bd4a64ddd03ec3e01e287737..93b0770985c97e67c870e2cebd388b066cc77e76 100644 (file)
@@ -434,7 +434,8 @@ class PowerDecoder(Elaboratable):
                     subdecoder = PowerDecoder(width=32, dec=sd,
                                               name=mname,
                                               col_subset=self.col_subset,
-                                              row_subset=self.row_subsetfn)
+                                              row_subset=self.row_subsetfn,
+                                              conditions=self.conditions)
                     if not subdecoder.tree_analyse():
                         del subdecoder
                         continue
@@ -511,7 +512,8 @@ class PowerDecoder(Elaboratable):
                 subdecoder = PowerDecoder(self.width, dec,
                                           name=mname,
                                           col_subset=self.col_subset,
-                                          row_subset=self.row_subsetfn)
+                                          row_subset=self.row_subsetfn,
+                                          conditions=self.conditions)
                 log ("subdecoder", mname, subdecoder)
                 if not subdecoder.tree_analyse():  # doesn't do anything
                     log ("analysed, DELETING", mname)