From 9140a63ff5934fca0b938e60431e60900fc94261 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 26 Mar 2020 20:30:51 +0000 Subject: [PATCH] add TODO for cry_in==CA --- src/soc/simulator/internalop_sim.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/simulator/internalop_sim.py b/src/soc/simulator/internalop_sim.py index d4c1c8d6..4afe531c 100644 --- a/src/soc/simulator/internalop_sim.py +++ b/src/soc/simulator/internalop_sim.py @@ -133,6 +133,8 @@ class InternalOpSimulator: cry_in = yield pdecode2.dec.op.cry_in if cry_in == CryIn.ONE.value: carry = 1 + elif cry_in == CryIn.CA.value: + carry = TODO deliberately cause error here result = self.execute_alu_op(operand1, operand2, internal_op, carry=carry) -- 2.30.2