refactor: refactor RTL style checker and update test cases

- Enhanced the RTL style checker script to include new diagnostic rules for function declarations, primary design units, and synthesis exclusions.
- Added functions to handle audit issues, ensuring that the audit records match the current inventory of RTL files.
- Updated test cases to reflect changes in RTL file names and paths, ensuring consistency with the new naming conventions.
- Introduced additional tests for style violations, including mismatched primary design units and synthesizable initial blocks.
- Adjusted file paths in various test files to align with the new RTL structure and naming conventions.
This commit is contained in:
maksyuki committed 2026-08-15 08:33:27 +08:00
1 parent 7a7c0b2973
commit 7eda4e6c46
116 files changed
+3310 -2624

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ def test_dvp_capture_framing(tmp_path: Path) -> None:
str(ROOT / "rtl/tech/tc_clk.sv"),
str(ip / "dvp_core.sv"),
str(ip / "dvp_reg.sv"),
str(ip / "dvp.sv"),
str(ip / "axi4s_dvp.sv"),
str(ROOT / "tests/rtl/dvp_tb.sv"),
]
source_list = tmp_path / "dvp.fl"