From a49b6ce15b9f98634b7b38eccd33aa26f1243cbf Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 21 May 2020 20:01:29 +0100 Subject: [PATCH] add CR out decoder debug --- src/soc/decoder/power_decoder.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/soc/decoder/power_decoder.py b/src/soc/decoder/power_decoder.py index 7a074f5a..69292429 100644 --- a/src/soc/decoder/power_decoder.py +++ b/src/soc/decoder/power_decoder.py @@ -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']]), -- 2.30.2