Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions linker/slashkit/emit/hw/project_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from __future__ import annotations

import os
import shlex
from enum import Enum
from pathlib import Path
import logging
Expand Down Expand Up @@ -283,8 +284,9 @@ def create_build_project(
if not tcl_path.exists():
raise FileNotFoundError(
f"create_project.tcl not found: {tcl_path}")
cmd = [
config.vivado_bin,
launcher = shlex.split(os.environ.get("SLASH_VIVADO_LAUNCHER", ""))
cmd = launcher + [
str(config.vivado_bin),
"-mode",
"batch",
"-nojournal",
Expand All @@ -294,7 +296,7 @@ def create_build_project(
str(tcl_path),
"-tclargs",
config.project_name,
config.ip_repository
str(config.ip_repository),
]
if action:
cmd.append(action)
Expand Down
Loading