From: Jacob Lifshay Date: Thu, 25 Aug 2022 04:19:36 +0000 (-0700) Subject: remove last uses of soc X-Git-Tag: sv_maxu_works-initial~112 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=551ad78c297bab865e81b9b4807458e1e71ec28e;p=openpower-isa.git remove last uses of soc --- diff --git a/src/openpower/test/runner.py b/src/openpower/test/runner.py index 2016876f..839709f7 100644 --- a/src/openpower/test/runner.py +++ b/src/openpower/test/runner.py @@ -15,6 +15,7 @@ related bugs: * https://bugs.libre-soc.org/show_bug.cgi?id=686#c51 """ +from unittest.mock import Mock from nmigen import Module, ClockSignal from copy import copy, deepcopy from pprint import pprint @@ -30,7 +31,6 @@ from openpower.endian import bigendian from openpower.decoder.power_decoder2 import PowerDecode2 -from soc.config.test.test_loadstore import TestMemPspec from nmutil.util import wrap from openpower.test.wb_get import wb_get import openpower.test.wb_get as wbget @@ -144,24 +144,24 @@ class TestRunnerBase(FHDLTestCase): ldst_ifacetype = 'test_bare_wb' imem_ifacetype = 'test_bare_wb' - pspec = TestMemPspec(ldst_ifacetype=ldst_ifacetype, - imem_ifacetype=imem_ifacetype, - addr_wid=64, - mask_wid=8, - XLEN=64, - imem_reg_wid=64, - # wb_data_width=32, - use_pll=False, - nocore=False, - xics=False, - gpio=False, - regreduce=not self.allow_overlap, - core_domain="sync", # no alternative domain - svp64=self.svp64, - allow_overlap=self.allow_overlap, - inorder=self.inorder, - mmu=self.microwatt_mmu, - reg_wid=64) + pspec = Mock(ldst_ifacetype=ldst_ifacetype, + imem_ifacetype=imem_ifacetype, + addr_wid=64, + mask_wid=8, + XLEN=64, + imem_reg_wid=64, + # wb_data_width=32, + use_pll=False, + nocore=False, + xics=False, + gpio=False, + regreduce=not self.allow_overlap, + core_domain="sync", # no alternative domain + svp64=self.svp64, + allow_overlap=self.allow_overlap, + inorder=self.inorder, + mmu=self.microwatt_mmu, + reg_wid=64) ###### SETUP PHASE ####### # Determine the simulations needed and add to state_list diff --git a/src/openpower/test/test_state_class.py b/src/openpower/test/test_state_class.py index 918958cf..b84a4aad 100644 --- a/src/openpower/test/test_state_class.py +++ b/src/openpower/test/test_state_class.py @@ -12,7 +12,6 @@ related bugs: import unittest import random from openpower.test.state import SimState, state_factory -from soc.simple.test.teststate import HDLState class TestStates(unittest.TestCase):