From: Luke Kenneth Casson Leighton Date: Sat, 4 Jul 2020 14:08:52 +0000 (+0100) Subject: oops initialise Function Unit class with idx X-Git-Tag: div_pipeline~162^2~91 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23dcccdaf40e843bc45bca5c10ad9f2efe94628e;p=soc.git oops initialise Function Unit class with idx --- diff --git a/src/soc/fu/compunits/test/test_compunit.py b/src/soc/fu/compunits/test/test_compunit.py index 1d319ba6..2cae1beb 100644 --- a/src/soc/fu/compunits/test/test_compunit.py +++ b/src/soc/fu/compunits/test/test_compunit.py @@ -176,7 +176,7 @@ class TestRunner(FHDLTestCase): m.d.comb += cu.ad.go.eq(cu.ad.rel) # link addr-go direct to rel m.d.comb += cu.st.go.eq(cu.st.rel) # link store-go direct to rel else: - m.submodules.cu = cu = self.fukls() + m.submodules.cu = cu = self.fukls(0) comb += pdecode2.dec.raw_opcode_in.eq(instruction) sim = Simulator(m)