From 4f868ac40eeee2317a7bfe9246d737f6342e750e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 14 Aug 2022 19:50:46 +0100 Subject: [PATCH] add get_fpregs stub function to HDLstate --- src/soc/litex/florent | 2 +- src/soc/simple/test/teststate.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/soc/litex/florent b/src/soc/litex/florent index b55917aa..0f03df15 160000 --- a/src/soc/litex/florent +++ b/src/soc/litex/florent @@ -1 +1 @@ -Subproject commit b55917aafa6bbc9f16e1d97dc095e929c31aa81a +Subproject commit 0f03df1546c8cf6ab91ef63b04713dca768a84c4 diff --git a/src/soc/simple/test/teststate.py b/src/soc/simple/test/teststate.py index 95650bab..f95370d0 100644 --- 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): -- 2.30.2