Skip to content

Commit 5e705d3

Browse files
oharboeclaude
andcommitted
fix: use portable path in mock-cpu constraint.sdc
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) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent 18463c8 commit 5e705d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flow/designs/asap7/mock-cpu/constraint.sdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# This fifo is from http://www.sunburst-design.com/papers/CummingsSNUG2002SJ_FIFO1.pdf
44

5-
source designs/src/mock-array/util.tcl
5+
source $::env(DESIGN_HOME)/src/mock-array/util.tcl
66

77
set sdc_version 2.0
88

0 commit comments

Comments
 (0)