refactor: refactor RTL paths and update test descriptions

- Updated RTL paths in various files to remove the 'ribp' prefix, reflecting the new directory structure.
- Modified test descriptions to remove version indicators (e.g., V2, V3) for clarity and consistency.
- Adjusted file references in scripts and tests to align with the new peripheral and multimedia directory structure.
- Added a new test to ensure repository layout invariants, confirming the absence of deprecated paths.
This commit is contained in:
maksyuki committed 2026-08-13 13:41:52 +08:00
1 parent 0bc1b73ba1
commit 5d61b7e90a
134 files changed
+324 -291

No files matched your search

+3 -3
View File
@@ -1,4 +1,4 @@
"""RIBP DVP V2 register, CDC, framing, and packing regression."""
"""RIBP DVP register, CDC, framing, and packing regression."""
from __future__ import annotations
@@ -17,7 +17,7 @@ def test_dvp_capture_framing(tmp_path: Path) -> None:
if iverilog is None or vvp is None:
return
common = ROOT / "rtl/managed/clusterip/common/rtl"
ip = ROOT / "rtl/ip/ribp/multimedia"
ip = ROOT / "rtl/ip/multimedia"
defines = [
"+define+PDK_BEHAV",
"+define+SV_ASSRT_DISABLE",
@@ -60,4 +60,4 @@ def test_dvp_capture_framing(tmp_path: Path) -> None:
simulation = tmp_path / "dvp_tb"
subprocess.run([iverilog, "-g2012", "-s", "dvp_tb", "-o", str(simulation), str(converted)], check=True)
result = subprocess.run([vvp, str(simulation)], check=True, capture_output=True, text=True)
assert "RIBP DVP V2 capture test passed" in result.stdout
assert "RIBP DVP capture test passed" in result.stdout