This commit is contained in:
Arnav Sacheti
2025-10-30 22:23:07 -07:00
parent bbbeab85c5
commit fdac38133c
9 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ from tests.cocotb_lib.utils import get_verilog_sources, prepare_cpuif_case
def test_apb3_smoke(tmp_path: Path, rdl_file: str, top_name: str) -> None:
"""Compile each APB3 design variant and execute the cocotb smoke test."""
repo_root = Path(__file__).resolve().parents[4]
rdl_path = repo_root / "tests" / "cocotb_lib" / rdl_file
rdl_path = repo_root / "tests" / "cocotb_lib" / "rdl" / rdl_file
build_root = tmp_path / top_name
module_path, package_path, config = prepare_cpuif_case(

View File

@@ -24,7 +24,7 @@ from tests.cocotb_lib.utils import get_verilog_sources, prepare_cpuif_case
def test_apb4_smoke(tmp_path: Path, rdl_file: str, top_name: str) -> None:
"""Compile each APB4 design variant and execute the cocotb smoke test."""
repo_root = Path(__file__).resolve().parents[4]
rdl_path = repo_root / "tests" / "cocotb_lib" / rdl_file
rdl_path = repo_root / "tests" / "cocotb_lib" / "rdl" / rdl_file
build_root = tmp_path / top_name
module_path, package_path, config = prepare_cpuif_case(

View File

@@ -24,7 +24,7 @@ from tests.cocotb_lib.utils import get_verilog_sources, prepare_cpuif_case
def test_axi4lite_smoke(tmp_path: Path, rdl_file: str, top_name: str) -> None:
"""Compile each AXI4-Lite design variant and execute the cocotb smoke test."""
repo_root = Path(__file__).resolve().parents[4]
rdl_path = repo_root / "tests" / "cocotb_lib" / rdl_file
rdl_path = repo_root / "tests" / "cocotb_lib" / "rdl" / rdl_file
build_root = tmp_path / top_name
module_path, package_path, config = prepare_cpuif_case(