From d5a5fcd8b7fc9e62b60ed846b782764f2f854b05 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 28 Feb 2021 14:43:09 +0000 Subject: [PATCH] fix syntax error --- src/soc/decoder/power_decoder2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2