Skip to content

Commit

Permalink
Config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
piotro888 committed Nov 19, 2024
1 parent ab01b5f commit e85081a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion coreblocks/params/configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@
[ALUComponent(), ShiftUnitComponent(), JumpComponent(), ExceptionUnitComponent(), PrivilegedUnitComponent()],
rs_entries=4,
),
RSBlockComponent(
[
MulComponent(mul_unit_type=MulType.SEQUENCE_MUL),
DivComponent(),
],
rs_entries=2,
),
RSBlockComponent([LSUComponent()], rs_entries=2, rs_type=FifoRS),
CSRBlockComponent(),
)
Expand Down Expand Up @@ -139,7 +146,9 @@ def __post_init__(self):
_implied_extensions: Extension = Extension(0)
_generate_test_hardware: bool = False

pma: list[PMARegion] = field(default_factory=list)
pma: list[PMARegion] = field(
default_factory=lambda: [PMARegion(0xE0000000, 0xFFFFFFFF, mmio=True)]
) # defult I/O region used in LiteX coreblocks


class CoreConfiguration(_CoreConfigurationDataClass):
Expand Down
6 changes: 3 additions & 3 deletions test/params/test_configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class ISAStrTest:
TEST_CASES = [
ISAStrTest(
basic_core_config,
"rv32izicsr_zifencei_xintmachinemode",
"rv32izicsr_zifencei_xintmachinemode",
"rv32izicsr_zifencei_xintmachinemode",
"rv32imzicsr_zifencei_xintmachinemode",
"rv32imzicsr_zifencei_xintmachinemode",
"rv32imzicsr_zifencei_xintmachinemode",
),
ISAStrTest(
full_core_config,
Expand Down

0 comments on commit e85081a

Please sign in to comment.