From 8db4799d88581c18a49936a52db86041e62c0b96 Mon Sep 17 00:00:00 2001 From: kareefardi Date: Sun, 24 Dec 2023 14:13:54 +0200 Subject: [PATCH] Also skip __VIRTUAL_CLK__ --- scripts/openroad/sta/check_clock_port.tcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/openroad/sta/check_clock_port.tcl b/scripts/openroad/sta/check_clock_port.tcl index 0f3745e53..6b017b875 100644 --- a/scripts/openroad/sta/check_clock_port.tcl +++ b/scripts/openroad/sta/check_clock_port.tcl @@ -16,7 +16,9 @@ source $::env(SCRIPTS_DIR)/openroad/common/io.tcl read_libs -typical $::env(LIB_TYPICAL) read_netlist -if { [get_ports $::env(CLOCK_PORT)] == "" && $::env(CLOCK_PORT) != "" } { +if { [get_ports $::env(CLOCK_PORT)] == "" && \ + $::env(CLOCK_PORT) != "" && \ + $::env(CLOCK_PORT) != "__VIRTUAL_CLK__"} { puts "\[ERROR]: CLOCK_PORT: '$::env(CLOCK_PORT)' not part of the design" exit 1 } else {