From: Luke Kenneth Casson Leighton Date: Sun, 28 Feb 2021 14:43:09 +0000 (+0000) Subject: fix syntax error X-Git-Tag: convert-csv-opcode-to-binary~142 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5a5fcd8b7fc9e62b60ed846b782764f2f854b05;p=soc.git fix syntax error --- diff --git a/src/soc/decoder/power_decoder2.py b/src/soc/decoder/power_decoder2.py index b0ecfa35..490d5285 100644 --- a/src/soc/decoder/power_decoder2.py +++ b/src/soc/decoder/power_decoder2.py @@ -1184,7 +1184,7 @@ class PowerDecode2(PowerDecodeSubset): comb += self.o2_isvec.eq(o2_svdec.isvec) # TODO add SPRs here. must be True when *all* are scalar l = map(lambda svdec: svdec.isvec, [in1_svdec, in2_svdec, in3_svdec, - crin_svdec, crin_svdec_b, crin_svdec_o]: + crin_svdec, crin_svdec_b, crin_svdec_o]) comb += self.no_in_vec.eq(~Cat(*l).bool()) # all input scalar l = map(lambda svdec: svdec.isvec, [o2_svdec, o_svdec, crout_svdec]) comb += self.no_out_vec.eq(~Cat(*l).bool()) # all output scalar