mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-04 22:32:36 +00:00
- Adjusted slot assignments in to reflect new peripheral mappings. - Updated to validate new OpenC906 configurations, including generator and profile checks. - Modified to reference the new Std-series VexiiRiscv generator. - Changed cache maintenance instructions in to align with C906 specifications. - Revised assertions in to account for internal unit removals. - Updated to reflect changes in peripheral interface counts and policies. - Added new test file to ensure preservation of the frozen HP configuration in the Std-series generator.
34 lines
791 B
Python
34 lines
791 B
Python
#!/usr/bin/env python3
|
|
"""Install the locked OpenC906 source used by Mini product profiles."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import argparse
|
|
from pathlib import Path
|
|
|
|
from dependency_lock import source
|
|
from setup_helpers import ensure_git_repo
|
|
|
|
|
|
ROOT = Path(__file__).resolve().parents[1]
|
|
|
|
|
|
def main() -> int:
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument("--update", action="store_true")
|
|
args = parser.parse_args()
|
|
dependency = source("openc906")
|
|
destination = ROOT / dependency["destination"]
|
|
ensure_git_repo(
|
|
dependency["url"],
|
|
destination,
|
|
dependency["revision"],
|
|
recursive=dependency.get("recursive", False),
|
|
update=args.update,
|
|
)
|
|
return 0
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|