From: Luke Kenneth Casson Leighton Date: Wed, 5 May 2021 12:37:22 +0000 (+0100) Subject: explicitly copy SV RM decoded fields in PowerDecodeSubset X-Git-Tag: 0.0.3~81 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6011f9c5c33f6463005a19859ce4f94866cda5a;p=openpower-isa.git explicitly copy SV RM decoded fields in PowerDecodeSubset --- 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