Fix typo when calculating PowerDecoder2.no_out_vec
authorCesar Strauss <cestrauss@gmail.com>
Mon, 22 Feb 2021 21:29:11 +0000 (18:29 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Mon, 22 Feb 2021 21:29:11 +0000 (18:29 -0300)
src/soc/decoder/power_decoder2.py

index 8a6ef221e5b17c7983b5f4a307a0a8f40dd94562..30e78faad301a2204b3962c0c7b49627ccbc84a5 100644 (file)
@@ -1181,7 +1181,7 @@ class PowerDecode2(PowerDecodeSubset):
         comb += self.o2_isvec.eq(o2_svdec.isvec)
         # TODO: include SPRs and CRs here!  must be True when *all* are scalar
         comb += self.no_out_vec.eq((~o2_svdec.isvec) & (~o_svdec.isvec) &
-                                   (crout_svdec.isvec))
+                                   (~crout_svdec.isvec))
 
         # SPRs out
         comb += e.read_spr1.eq(dec_a.spr_out)