Skip to content

Commit 542d516

Browse files
committed
Dev only var to select specifc backend version
1 parent d68efc6 commit 542d516

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

chipflow_lib/steps/silicon.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,11 @@ def submit(self, rtlil_path, *, dry_run=False):
134134
"name": submission_name,
135135
}
136136

137-
# Check if CHIPFLOW_BACKEND_GIT_SHA exists in the environment and add it to the data dictionary
138-
backend_sha = os.environ.get("CHIPFLOW_BACKEND_GIT_SHA")
139-
if backend_sha:
140-
data["backend_sha"] = backend_sha
137+
# Dev only var to select specifc backend version
138+
# Check if CHIPFLOW_BACKEND_VERSION exists in the environment and add it to the data dictionary
139+
chipflow_backend_version = os.environ.get("CHIPFLOW_BACKEND_VERSION")
140+
if chipflow_backend_version:
141+
data["chipflow_backend_version"] = chipflow_backend_version
141142

142143
pads = {}
143144
for iface, port in self.platform._ports.items():

0 commit comments

Comments
 (0)