projects
/
rv32.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a92cd7f
)
no immediate constant, make 32-bit wide
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 24 Nov 2018 01:22:06 +0000
(
01:22
+0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 24 Nov 2018 01:22:06 +0000
(
01:22
+0000)
cpu_decoder.py
patch
|
blob
|
history
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]: