From 5e705d37b3a882a4665e8aef4e94832574107597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 30 Mar 2026 21:58:24 +0200 Subject: [PATCH] fix: use portable path in mock-cpu constraint.sdc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The hardcoded relative path `designs/src/mock-array/util.tcl` breaks when the working directory isn't the repo root. Use $::env(DESIGN_HOME) which is the standard pattern for all other SDC files. Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Øyvind Harboe --- flow/designs/asap7/mock-cpu/constraint.sdc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/designs/asap7/mock-cpu/constraint.sdc b/flow/designs/asap7/mock-cpu/constraint.sdc index 4648916e35..a7f3b609e2 100644 --- a/flow/designs/asap7/mock-cpu/constraint.sdc +++ b/flow/designs/asap7/mock-cpu/constraint.sdc @@ -2,7 +2,7 @@ # # This fifo is from http://www.sunburst-design.com/papers/CummingsSNUG2002SJ_FIFO1.pdf -source designs/src/mock-array/util.tcl +source $::env(DESIGN_HOME)/src/mock-array/util.tcl set sdc_version 2.0