projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9efc3fb
)
note that CR must be offset by 32
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 7 Apr 2020 18:27:15 +0000
(19:27 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 7 Apr 2020 18:27:15 +0000
(19:27 +0100)
src/soc/decoder/isa/caller.py
patch
|
blob
|
history
diff --git
a/src/soc/decoder/isa/caller.py
b/src/soc/decoder/isa/caller.py
index 8a4da033d3affb12942d5864ea01e0ed58661fa7..deb30fc73fa57b3bf6537a36077f01316331becc 100644
(file)
--- a/
src/soc/decoder/isa/caller.py
+++ b/
src/soc/decoder/isa/caller.py
@@
-148,7
+148,7
@@
class ISACaller:
# 3.2.3 p46 p232 VRSAVE (actually SPR #256)
# create CR then allow portions of it to be "selectable" (below)
- self.cr = SelectableInt(0, 32)
+ self.cr = SelectableInt(0, 32)
# TODO, must be bits range 32-63 not 0-31
# "undefined", just set to variable-bit-width int (use exts "max")
self.undefined = SelectableInt(0, 256) # TODO, not hard-code 256!