mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-06 14:55:14 +00:00
refactor: refactor tests to replace RIBP references with APB4 equivalents
- Updated test files to change instances of ribp_if to apb4_if in various test cases, ensuring consistency with the new APB4 interface. - Modified assertions and checks in tests to reflect the new APB4 naming conventions, including changes in expected output and input files. - Adjusted the test descriptions to accurately represent the APB4 functionality being tested, particularly in timer, UART, and GPIO tests. - Ensured that all relevant paths and file names in the tests are updated to point to the new APB4 implementations, maintaining the integrity of the test suite.
This commit is contained in:
153 files changed
+5566
-3744
No files matched your search
+3
-3
@@ -1,4 +1,4 @@
|
||||
"""RIBP DVP register, CDC, framing, and packing regression."""
|
||||
"""APB4 DVP register, CDC, framing, and packing regression."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -29,7 +29,7 @@ def test_dvp_capture_framing(tmp_path: Path) -> None:
|
||||
"+incdir+" + str(common / "cdc"),
|
||||
"+incdir+" + str(common / "clkrst"),
|
||||
"+incdir+" + str(ip),
|
||||
str(common / "interface/ribp_if.sv"),
|
||||
str(common / "interface/apb4_if.sv"),
|
||||
str(common / "interface/axi4_stream_if.sv"),
|
||||
str(common / "utils/register.sv"),
|
||||
str(common / "utils/xchecker.sv"),
|
||||
@@ -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 capture test passed" in result.stdout
|
||||
assert "APB4 DVP capture test passed" in result.stdout
|
||||
Reference in new issue
Block a user