mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-06 14:55:14 +00:00
feat: refactor UART and Timer Interfaces; Remove Unused Components
- Deleted the UART interface and related components from the RTL design, including the UART TX/RX signals and instances. - Removed the timer interface and its associated files from the project, including the timer definitions and references in the integration files. - Updated the APB target configurations to reflect the removal of the UART and timer components, ensuring the IRQ and memory map configurations are consistent. - Adjusted the formal verification properties and testbenches to exclude references to the removed components. - Cleaned up the integration documentation to accurately describe the current state of the system without the UART and timer interfaces.
This commit is contained in:
33 files changed
+406
-591
No files matched your search
@@ -87,8 +87,23 @@ def test_user_ip_is_always_emitted_for_the_fixed_platform(tmp_path: Path) -> Non
|
||||
rtl = (tmp_path / "rtl/mmap_define.svh").read_text(encoding="utf-8")
|
||||
header = (tmp_path / "include/retrosoc/generated/memory_map.h").read_text(encoding="utf-8")
|
||||
|
||||
assert "SOC_ADDR_APB_USER_IP_BASE" in rtl
|
||||
assert "RS_SOC_APB_USER_IP_BASE" in header
|
||||
expected_apb_bases = {
|
||||
"ARCHINFO": "20000000",
|
||||
"RNG": "20001000",
|
||||
"PWM": "20002000",
|
||||
"PS2": "20003000",
|
||||
"RTC": "20004000",
|
||||
"WDG": "20005000",
|
||||
"CRC": "20006000",
|
||||
"USER_IP": "20007000",
|
||||
}
|
||||
for symbol, base in expected_apb_bases.items():
|
||||
assert f"`define SOC_ADDR_APB_{symbol}_BASE 32'h{base}" in rtl
|
||||
assert f"#define RS_SOC_APB_{symbol}_BASE UINT32_C(0x{base})" in header
|
||||
assert "APB_UART1" not in rtl
|
||||
assert "APB_UART1" not in header
|
||||
assert "APB_TMR" not in rtl
|
||||
assert "APB_TMR" not in header
|
||||
|
||||
|
||||
def test_bootstrap_assembly_uses_the_generated_gpio_admin_base() -> None:
|
||||
|
||||
Reference in new issue
Block a user