From 74c68266bb10e37f2bb118cb338f9e48cb036daa Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 11 Sep 2023 13:30:26 -0700 Subject: [PATCH] MASK was moved into ISACallerHelper class --- src/soc/fu/shift_rot/test/test_maskgen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/soc/fu/shift_rot/test/test_maskgen.py b/src/soc/fu/shift_rot/test/test_maskgen.py index 27a1d4c4..8898224d 100644 --- a/src/soc/fu/shift_rot/test/test_maskgen.py +++ b/src/soc/fu/shift_rot/test/test_maskgen.py @@ -3,12 +3,13 @@ from nmigen.back.pysim import Simulator, Delay, Settle from nmutil.formaltest import FHDLTestCase from nmigen.cli import rtlil from soc.fu.shift_rot.maskgen import MaskGen -from openpower.decoder.helpers import MASK +from openpower.decoder.helpers import ISACallerHelper import random import unittest class MaskGenTestCase(FHDLTestCase): def test_maskgen(self): + MASK = ISACallerHelper(64, FPSCR=None).MASK m = Module() comb = m.d.comb m.submodules.dut = dut = MaskGen(64) -- 2.30.2