add CR out decoder debug
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 21 May 2020 19:01:29 +0000 (20:01 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 21 May 2020 19:01:37 +0000 (20:01 +0100)
src/soc/decoder/power_decoder.py

index 7a074f5a35901f16399971af9196ef6964694d4b..69292429ea5366848a0f4f29221c746ec86aa48f 100644 (file)
@@ -141,6 +141,9 @@ class PowerOp:
         if row['CR in'] == '1':
             import pdb; pdb.set_trace()
             print(row)
+        if row['CR out'] == '0':
+            import pdb; pdb.set_trace()
+            print(row)
         res = [self.function_unit.eq(Function[row['unit']]),
                self.form.eq(Form[row['form']]),
                self.internal_op.eq(InternalOp[row['internal op']]),