From 801e2979fea9d785531b760b8379d0d1e0716b2c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 24 Jun 2021 20:10:52 +0100 Subject: [PATCH] must pass in conditions into Sub-decoders --- src/openpower/decoder/power_decoder.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/openpower/decoder/power_decoder.py b/src/openpower/decoder/power_decoder.py index 4fe3d7e6..93b07709 100644 --- a/src/openpower/decoder/power_decoder.py +++ b/src/openpower/decoder/power_decoder.py @@ -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) -- 2.30.2