Skip to content

Commit

Permalink
Move tests after #620 (#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
lekcyjna123 authored Apr 15, 2024
1 parent 0f6d189 commit f995306
Show file tree
Hide file tree
Showing 42 changed files with 8 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/fu/test_alu.py → test/func_blocks/fu/test_alu.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from coreblocks.frontend.decoder import Funct3, Funct7, OpType
from coreblocks.func_blocks.fu.alu import AluFn, ALUComponent

from test.fu.functional_common import ExecFn, FunctionalUnitTestCase
from test.func_blocks.fu.functional_common import ExecFn, FunctionalUnitTestCase

from transactron.utils import signed_to_int

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from coreblocks.frontend.decoder import Funct3, Funct7, OpType
from coreblocks.func_blocks.fu.div_unit import DivFn, DivComponent

from test.fu.functional_common import ExecFn, FunctionalUnitTestCase
from test.func_blocks.fu.functional_common import ExecFn, FunctionalUnitTestCase

from transactron.utils import signed_to_int, int_to_signed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from coreblocks.frontend.decoder.isa import ExceptionCause
from coreblocks.frontend.decoder import OpType, Funct3

from test.fu.functional_common import ExecFn, FunctionalUnitTestCase
from test.func_blocks.fu.functional_common import ExecFn, FunctionalUnitTestCase


class TestExceptionUnit(FunctionalUnitTestCase[ExceptionUnitFn.Fn]):
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from transactron.utils import signed_to_int

from test.fu.functional_common import ExecFn, FunctionalUnitTestCase
from test.func_blocks.fu.functional_common import ExecFn, FunctionalUnitTestCase


class JumpBranchWrapper(Elaboratable):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from transactron.utils import signed_to_int, int_to_signed

from test.fu.functional_common import ExecFn, FunctionalUnitTestCase
from test.func_blocks.fu.functional_common import ExecFn, FunctionalUnitTestCase


@parameterized_class(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from coreblocks.frontend.decoder import Funct3, Funct7, OpType
from coreblocks.func_blocks.fu.shift_unit import ShiftUnitFn, ShiftUnitComponent

from test.fu.functional_common import ExecFn, FunctionalUnitTestCase
from test.func_blocks.fu.functional_common import ExecFn, FunctionalUnitTestCase


class TestShiftUnit(FunctionalUnitTestCase[ShiftUnitFn.Fn]):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/fu/test_zbc.py → test/func_blocks/fu/test_zbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from coreblocks.frontend.decoder import Funct3, Funct7, OpType
from coreblocks.params.configurations import test_core_config

from test.fu.functional_common import ExecFn, FunctionalUnitTestCase
from test.func_blocks.fu.functional_common import ExecFn, FunctionalUnitTestCase


# Instruction semantics are based on pseudocode from the spec
Expand Down
2 changes: 1 addition & 1 deletion test/fu/test_zbs.py → test/func_blocks/fu/test_zbs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from coreblocks.frontend.decoder import Funct3, Funct7, OpType
from coreblocks.func_blocks.fu.zbs import ZbsFunction, ZbsComponent

from test.fu.functional_common import ExecFn, FunctionalUnitTestCase
from test.func_blocks.fu.functional_common import ExecFn, FunctionalUnitTestCase


class TestZbsUnit(FunctionalUnitTestCase[ZbsFunction.Fn]):
Expand Down
Empty file.
File renamed without changes.
File renamed without changes.
Empty file added test/priv/__init__.py
Empty file.
Empty file added test/priv/traps/__init__.py
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.

0 comments on commit f995306

Please sign in to comment.