from openpower.simulator.program import Program
from openpower.decoder.isa.all import ISA
from soc.config.endian import bigendian
-from soc.consts import MSR
+from openpower.consts import MSR
from soc.fu.test.common import (
from openpower.simulator.program import Program
from openpower.decoder.isa.all import ISA
from soc.config.endian import bigendian
-from soc.consts import MSR
+from openpower.consts import MSR
from soc.fu.test.common import (
from soc.fu.shift_rot.pipe_data import ShiftRotPipeSpec
from soc.fu.shift_rot.sr_input_record import CompSROpSubset
from openpower.decoder.power_enums import MicrOp
-from soc.consts import field
+from openpower.consts import field
import unittest
from nmutil.extend import exts
from openpower.simulator.program import Program
from openpower.decoder.isa.all import ISA
from soc.config.endian import bigendian
-from soc.consts import MSR
+from openpower.consts import MSR
from soc.fu.test.common import (
from nmutil.extend import exts
from nmutil.formaltest import FHDLTestCase
-from soc.consts import MSR, MSRb, PI, TT, field
+from openpower.consts import MSR, MSRb, PI, TT, field
from openpower.decoder.power_enums import MicrOp
from openpower.decoder.power_fields import DecodeFields
from openpower.decoder.power_fieldsn import SignalBitRange
-from soc.consts import MSR, PI, TT, field, field_slice
+from openpower.consts import MSR, PI, TT, field, field_slice
def msr_copy(msr_o, msr_i, zero_me=True):
from openpower.simulator.program import Program
from openpower.decoder.isa.all import ISA
from soc.config.endian import bigendian
-from soc.consts import MSR
+from openpower.consts import MSR
from soc.fu.test.common import (TestAccumulatorBase, TestCase, ALUHelpers)
from soc.fu.trap.pipeline import TrapBasePipe
from soc.fu.base_input_record import CompOpSubsetBase
from openpower.decoder.power_enums import (MicrOp, Function)
-from soc.consts import TT
+from openpower.consts import TT
from soc.experiment.mem_types import LDSTException
class CompTrapOpSubset(CompOpSubsetBase):
from openpower.decoder.power_decoder2 import PowerDecode2, SVP64PrefixDecoder
from openpower.decoder.decode2execute1 import IssuerDecode2ToOperand
from openpower.decoder.decode2execute1 import Data
+from openpower.decoder.power_enums import (MicrOp, SVP64PredInt, SVP64PredCR,
+ SVP64PredMode)
+from openpower.state import CoreState
+from openpower.consts import (CR, SVP64CROffs)
from soc.experiment.testmem import TestMemory # test only for instructions
from soc.regfile.regfiles import StateRegs, FastRegs
from soc.simple.core import NonProductionCore
from soc.config.test.test_loadstore import TestMemPspec
from soc.config.ifetch import ConfigFetchUnit
-from openpower.decoder.power_enums import (MicrOp, SVP64PredInt, SVP64PredCR,
- SVP64PredMode)
-from soc.consts import (CR, SVP64CROffs)
from soc.debug.dmi import CoreDebug, DMIInterface
from soc.debug.jtag import JTAG
from soc.config.pinouts import get_pinspecs
-from soc.config.state import CoreState
from soc.interrupts.xics import XICS_ICP, XICS_ICS
from soc.bus.simple_gpio import SimpleGPIO
from soc.bus.SPBlock512W64B8W import SPBlock512W64B8W
from soc.clock.select import ClockSelect
from soc.clock.dummypll import DummyPLL
-from soc.sv.svstate import SVSTATERec
+from openpower.sv.svstate import SVSTATERec
from nmutil.util import rising_edge