projects
/
rv32.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
no immediate constant, make 32-bit wide
[rv32.git]
/
cpu_decoder.py
diff --git
a/cpu_decoder.py
b/cpu_decoder.py
index 3239a0d453688de701ddb99e572cb85ce76a744a..3f91824316dfbb6d1f4dae702a14230145418d9b 100644
(file)
--- 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]: