from nmigen import Module, Signal, Elaboratable
from nmigen.cli import main
-from soc.TLB.PteEntry import PteEntry
+from unused.TLB.PteEntry import PteEntry
class PermissionValidator(Elaboratable):
import sys
-from soc.TLB.ariane.plru import PLRU
+from unused.TLB.ariane.plru import PLRU
from nmigen.compat.sim import run_simulation
from nmigen.compat.sim import run_simulation
-from soc.TLB.ariane.ptw import PTW, PTE
+from unused.TLB.ariane.ptw import PTW, PTE
# unit was changed, test needs to be changed
from nmigen.compat.sim import run_simulation
-from soc.TLB.ariane.tlb import TLB
+from unused.TLB.ariane.tlb import TLB
def set_vaddr(addr):
from nmigen.compat.sim import run_simulation
-from soc.TLB.ariane.tlb_content import TLBContent
+from unused.TLB.ariane.tlb_content import TLBContent
from soc.TestUtil.test_helper import assert_op, assert_eq
from nmigen.cli import verilog, rtlil
from nmigen.lib.coding import Encoder
-from soc.TLB.ariane.ptw import TLBUpdate, PTE, ASID_WIDTH
-from soc.TLB.ariane.plru import PLRU
-from soc.TLB.ariane.tlb_content import TLBContent
+from unused.TLB.ariane.ptw import TLBUpdate, PTE, ASID_WIDTH
+from unused.TLB.ariane.plru import PLRU
+from unused.TLB.ariane.tlb_content import TLBContent
TLB_ENTRIES = 8
from nmigen import Signal, Module, Cat, Const, Elaboratable
-from soc.TLB.ariane.ptw import TLBUpdate, PTE
+from unused.TLB.ariane.ptw import TLBUpdate, PTE
class TLBEntry:
# SPDX-License-Identifier: LGPL-2.1-or-later
# See Notices.txt for copyright information
-from soc.TLB.LFSR import LFSR, LFSRPolynomial, LFSR_POLY_3
+from unused.TLB.LFSR import LFSR, LFSRPolynomial, LFSR_POLY_3
from nmigen.back.pysim import Simulator, Delay, Tick
import unittest
from nmigen.compat.sim import run_simulation
-from soc.TLB.AddressEncoder import AddressEncoder
+from unused.TLB.AddressEncoder import AddressEncoder
from soc.TestUtil.test_helper import assert_eq, assert_ne, assert_op
from nmigen.compat.sim import run_simulation
-from soc.TLB.Cam import Cam
+from unused.TLB.Cam import Cam
from soc.TestUtil.test_helper import assert_eq, assert_ne, assert_op
from nmigen.compat.sim import run_simulation
from soc.TestUtil.test_helper import assert_eq, assert_ne, assert_op
-from soc.TLB.CamEntry import CamEntry
+from unused.TLB.CamEntry import CamEntry
# This function allows for the easy setting of values to the Cam Entry
# Arguments:
from nmigen.compat.sim import run_simulation
-from soc.TLB.PermissionValidator import PermissionValidator
+from unused.TLB.PermissionValidator import PermissionValidator
from soc.TestUtil.test_helper import assert_op
from nmigen.compat.sim import run_simulation
-from soc.TLB.PteEntry import PteEntry
+from unused.TLB.PteEntry import PteEntry
from soc.TestUtil.test_helper import assert_op
from nmigen.compat.sim import run_simulation
-from soc.TLB.SetAssociativeCache import SetAssociativeCache
+from unused.TLB.SetAssociativeCache import SetAssociativeCache
from soc.TestUtil.test_helper import assert_eq, assert_ne, assert_op
from nmigen.compat.sim import run_simulation
-from soc.TLB.TLB import TLB
+from unused.TLB.TLB import TLB
from soc.TestUtil.test_helper import assert_op, assert_eq
-from ram_tp_write_first import ram_tp_write_first
+from ..ram_tp_write_first import ram_tp_write_first
from nmigen.compat.sim import run_simulation
import sys
sys.path.append("../")
import sys
sys.path.append("../")
# sys.path.append("../../../TestUtil")
-from slice_top import slice_top
+from ..slice_top import slice_top
def tbench(dut):
yield
from nmigen.back.pysim import Simulator, Delay
from nmigen.test.utils import FHDLTestCase
import unittest
-from soc.simulator.internalop_sim import InternalOpSimulator
+from unused.simulator.internalop_sim import InternalOpSimulator
from soc.decoder.power_decoder import (create_pdecode)
from soc.decoder.power_enums import (Function, InternalOp,
In1Sel, In2Sel, In3Sel,