From e6011f9c5c33f6463005a19859ce4f94866cda5a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 5 May 2021 13:37:22 +0100 Subject: [PATCH] explicitly copy SV RM decoded fields in PowerDecodeSubset --- src/openpower/decoder/power_decoder2.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/openpower/decoder/power_decoder2.py b/src/openpower/decoder/power_decoder2.py index 0bfa1d3d..54c029e4 100644 --- a/src/openpower/decoder/power_decoder2.py +++ b/src/openpower/decoder/power_decoder2.py @@ -921,8 +921,13 @@ class PowerDecodeSubset(Elaboratable): # copy over SVP64 input record fields (if they exist) if self.svp64_en: - for (field, _) in sv_input_record_layout: - comb += self.do_copy(field, self.op_get(field)) + # TODO, really do we have to do these explicitly?? sigh + #for (field, _) in sv_input_record_layout: + # comb += self.do_copy(field, self.rm_dec.op_get(field)) + comb += self.do_copy("sv_pred_sz", self.rm_dec.pred_sz) + comb += self.do_copy("sv_pred_dz", self.rm_dec.pred_dz) + comb += self.do_copy("sv_saturate", self.rm_dec.saturate) + comb += self.do_copy("sv_Ptype", self.rm_dec.ptype_in) return m -- 2.30.2