Skip to content

Commit 0aafcf4

Browse files
committed
make: use := for ihp-sg13g2 ABC_CLOCK_PERIOD_IN_PS
Signed-off-by: ctkiku <kim.kuparinen@tuni.fi>
1 parent 9c7900d commit 0aafcf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎flow/platforms/ihp-sg13g2/config.mk‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export ABC_LOAD_IN_FF = 6.0
6969
ifeq ($(origin ABC_CLOCK_PERIOD_IN_PS), undefined)
7070
ifneq ($(wildcard $(SDC_FILE)),)
7171
# Set yosys-abc clock period to first "clk_period" value or "-period" value found in sdc file
72-
export ABC_CLOCK_PERIOD_IN_PS ?= $(shell sed -nE "s/^set clk_period (.+)|.* -period (.+) .*/\1\2/p" $(SDC_FILE) | head -1 | awk '{print $$1*1000}')
72+
export ABC_CLOCK_PERIOD_IN_PS := $(shell sed -nE "s/^set clk_period (.+)|.* -period (.+) .*/\1\2/p" $(SDC_FILE) | head -1 | awk '{print $$1*1000}')
7373
endif
7474
endif
7575

0 commit comments

Comments
 (0)