From 53430a7d9b7fe35dce3850cf74559ecdb11ff6d5 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 26 Jun 2021 13:38:03 +0100 Subject: [PATCH] use standard create_pdecode in TestRunner --- src/soc/simple/test/test_runner.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/soc/simple/test/test_runner.py b/src/soc/simple/test/test_runner.py index 342a7ee0..85afa309 100644 --- a/src/soc/simple/test/test_runner.py +++ b/src/soc/simple/test/test_runner.py @@ -169,9 +169,8 @@ class TestRunner(FHDLTestCase): l0 = core.l0 regreduce_en = pspec.regreduce_en == True - # copy of the decoder for simulator - simdec = create_pdecode() - simdec2 = PowerDecode2(simdec, regreduce_en=regreduce_en) + #simdec = create_pdecode() + simdec2 = PowerDecode2(None, regreduce_en=regreduce_en) m.submodules.simdec2 = simdec2 # pain in the neck # run core clock at same rate as test clock -- 2.30.2