projects
/
soc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add get_fpregs stub function to HDLstate
[soc.git]
/
src
/
soc
/
simple
/
test
/
teststate.py
diff --git
a/src/soc/simple/test/teststate.py
b/src/soc/simple/test/teststate.py
index 95650babfa8817f0e6f7e78060c62bf7674d4701..f95370d0c984f68f77de51d5bfc5e11b60b6a892 100644
(file)
--- a/
src/soc/simple/test/teststate.py
+++ b/
src/soc/simple/test/teststate.py
@@
-19,6
+19,11
@@
class HDLState(State):
super().__init__()
self.core = core
+ def get_fpregs(self):
+ self.fpregs = []
+ for i in range(32):
+ self.fpregs.append(0)
+
def get_intregs(self):
self.intregs = []
for i in range(32):