refactor: refactor RTL source paths in style audit and test files

- Added i2c_if.sv and spi_if.sv to rtl_style_audit.json for proper inclusion in style checks.
- Updated test_i2c.py to reference i2c_if.sv from the serial directory instead of the cluster IP directory.
- Modified test_spisd.py to point to spi_if.sv in the storage directory instead of the cluster IP directory.
This commit is contained in:
maksyuki committed 2026-08-22 19:47:40 +08:00
1 parent da22208ca5
commit 3addf412d6
23 files changed
+5741 -32

No files matched your search

+1 -2
View File
@@ -19,7 +19,6 @@ def test_i2c_controller_and_recovery_contract(tmp_path: Path) -> None:
common = ROOT / "rtl/managed/clusterip/common/rtl"
serial = ROOT / "rtl/ip/serial"
cluster_i2c = ROOT / "rtl/managed/clusterip/i2c/rtl"
source_list = tmp_path / "i2c.fl"
source_list.write_text(
"\n".join(
@@ -34,7 +33,7 @@ def test_i2c_controller_and_recovery_contract(tmp_path: Path) -> None:
str(common / "utils/register.sv"),
str(common / "utils/fifo.sv"),
str(common / "cdc/cdc_sync.sv"),
str(cluster_i2c / "i2c_if.sv"),
str(serial / "i2c_if.sv"),
str(serial / "i2c_filter.sv"),
str(serial / "i2c_core.sv"),
str(serial / "i2c_reg.sv"),