From 7083f7113cf52cf11b344e97c7bd8fb0ae0c29f4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 24 Nov 2018 01:22:06 +0000 Subject: [PATCH] no immediate constant, make 32-bit wide --- cpu_decoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu_decoder.py b/cpu_decoder.py index 3239a0d..3f91824 100644 --- a/cpu_decoder.py +++ b/cpu_decoder.py @@ -63,7 +63,7 @@ class CPUDecoder(Module): """ calculate immediate """ ci = {} - no_imm = 0x0 + no_imm = Constant(0x0, 32) # R-type: no immediate for op in [OP.amo, OP.op, OP.op_32, OP.op_fp]: -- 2.30.2