projects
/
soc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
debugging decoding of SPRs (fast)
[soc.git]
/
src
/
soc
/
regfile
/
util.py
diff --git
a/src/soc/regfile/util.py
b/src/soc/regfile/util.py
index f27d711e417e0fd990cd42decbd5988497c979f3..1587e550d0a445406bee600cb2215af16044b5b9 100644
(file)
--- a/
src/soc/regfile/util.py
+++ b/
src/soc/regfile/util.py
@@
-8,3
+8,7
@@
def fast_reg_to_spr(spr_num):
return SPR.LR.value
elif spr_num == FastRegs.TAR:
return SPR.TAR.value
+ elif spr_num == FastRegs.SRR0:
+ return SPR.SRR0.value
+ elif spr_num == FastRegs.SRR1:
+ return SPR.SRR1.value