feat: add Yosys synthesis scripts and update PDK paths

- Introduced common setup script for Yosys () to manage global variables and configurations.
- Added output filtering script () to enhance log readability.
- Created technology initialization script () for handling different PDKs.
- Developed main synthesis script () to orchestrate the synthesis flow using Yosys.
- Added a configuration makefile () for synthesis settings.
- Updated Yosys makefile () to integrate new scripts and configurations.
- Adjusted paths in  and RTL filelists to reflect new directory structure under .
- Modified various scripts and test files to accommodate the new PDK paths and ensure compatibility.
- Enhanced warning normalization in the analysis script to preserve PDK signatures.
This commit is contained in:
maksyuki committed 2026-08-14 18:51:02 +08:00
1 parent 319974f701
commit 7a7c0b2973
51 files changed
+132 -96

No files matched your search

+1
View File
@@ -63,6 +63,7 @@ def normalize(root: Path, identifier: str, message: str) -> str:
value,
)
value = value.replace(resolved_root, "$ROOT")
value = value.replace("$ROOT/physical/pdk/", "$ROOT/pdk/")
value = GENERATED_MPW_PATH_RE.sub(_normalize_generated_mpw_path, value)
value = LOCATION_RE.sub(lambda match: match.group("path") + ":<line>", value)
value = re.sub(r"\s+", " ", value)
+1 -1
View File
@@ -102,7 +102,7 @@ def main() -> int:
staging.mkdir()
command = [
"python3",
str(root / "syn/tools/export_soc_sources.py"),
str(root / "physical/smoke/syn/tools/export_soc_sources.py"),
"sv",
"--output-dir",
str(staging),