Skip to content

Commit

Permalink
Also skip __VIRTUAL_CLK__
Browse files Browse the repository at this point in the history
  • Loading branch information
kareefardi committed Dec 24, 2023
1 parent 75bd2a1 commit 8db4799
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/openroad/sta/check_clock_port.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8db4799

Please sign in to comment.