feat: add RNG support and update related configurations

- Updated Makefile to include a check for the RNG metadata script and added a dependency for it.
- Modified memory_map.json to change the user access level of APB_RNG to 'none'.
- Updated clusterip filelist to include new RNG source files.
- Adjusted generate_soc_topology.py to replace the reserved IRQ with the RNG IRQ.
- Updated soc_topology.json to reflect the new RNG interrupt configuration.
- Added RNG source files to software.mk for compilation.
- Enhanced ip_apb_wrapper.sv to instantiate the RNG core and connect it to the APB interface.
- Updated test_memory_map.py to ensure SOC_ADDR_IS_APB_RNG is not defined.
- Modified test_script_tools.py to ensure dry runs do not write filelists.
- Updated test_soc_topology.py to verify the new RNG IRQ and adjust the user IRQ mask.
This commit is contained in:
maksyuki committed 2026-08-09 17:17:35 +08:00
1 parent 4f8d7bc699
commit 97335b9df1
22 files changed
+510 -284

No files matched your search

+8 -2
View File
@@ -505,7 +505,7 @@ def test_dependency_helper_limits_recursive_submodules(monkeypatch, tmp_path: Pa
)
def test_make_dry_run_and_validation_do_not_write_filelists() -> None:
def test_make_dry_run_and_validation_do_not_write_filelists(tmp_path: Path) -> None:
def build_state() -> dict[str, tuple[int, int]]:
build = ROOT / "build"
if not build.exists():
@@ -518,7 +518,13 @@ def test_make_dry_run_and_validation_do_not_write_filelists() -> None:
before = build_state()
run("make", "-n", "help")
run("make", "-n", "SIMU=IVERILOG", "comp")
run(
"make",
"-n",
f"ARCHINFO_METADATA_SCRIPT={tmp_path / 'missing-generate-metadata.py'}",
"SIMU=IVERILOG",
"comp",
)
run(
"make",
"-n",