Hi, What does this warning mean, `[WARNING]: All i...
# shuttle
w
Hi, What does this warning mean,
[WARNING]: All internal macros will not be connected to power.
I can visually see that no power pins of the macro have been imported during the PDN. I also checked and the pins are defined in the LEF file Is there some flag I have to set manually ? @Matt Venn
I cant find any other variable related to the powering the macro except these 2. They are set properly
m
Can you show met5 and via4?
I ignore those warnings, I don't know where they come from.
w
I just checked the final GDS and it has connections to power and ground..
Last I remembered it was reflected in pdn.def after floorplan. I was doing step by step process and thought it is not creating any connections
Thanks @Matt Venn
m
Np
h
Would be good if you can create an issue to see if the warning can be removed
m
From
tcl_commands/floorplan.tcl
Copy code
if { $::env(FP_PDN_ENABLE_MACROS_GRID) == 1 } {
                        # if macros connections to power are explicitly set
                        # default behavoir macro pins will be connected to the first power domain
                        if { [info exists ::env(FP_PDN_MACRO_HOOKS)] } {
                                set ::env(FP_PDN_ENABLE_MACROS_GRID) 0
                                foreach {instance_name hooks} $macro_hooks {
                                        set power [lindex $hooks 0]
                                        set ground [lindex $hooks 1]
                                        if { $power == $::env(VDD_NET) && $ground == $::env(GND_NET) } {
                                                set ::env(FP_PDN_ENABLE_MACROS_GRID) 1
                                                puts_info "Connecting $instance_name to $power and $ground nets."
                                                lappend ::env(FP_PDN_MACROS) $instance_name
                                        }
                                }
                        }
                } else {
                        puts_warn "All internal macros will not be connected to power."
                }

                gen_pdn

                set ::env(FP_PDN_ENABLE_RAILS) 0
                set ::env(FP_PDN_ENABLE_MACROS_GRID) 0
The error message
All internal macros will not be connected to power.
occurs when
FP_PDN_ENABLE_MACROS_GRID
is
0
. So the first time through, if
FP_PDN_ENABLE_MACROS_GRID
is
1
,
FP_PDN_MACROS
will be set. But after
gen_pdn
,
FP_PDN_ENABLE_MACROS_GRID
is set to
0
, so subsequent runs may not pick up changes to the
FP_PDN_MACROS
. You could try running in a new
runs
directory or deleting the
runs/tag/config.tcl
file.
d
I'll take a look.
t
Caravel user area PDN has two Digital and two analog voltage networks, each fed from either left or right side of Caravel harness. Most of design macros are connected with only one network, a choice made by using VDD_NETS and GND_NETS in macro-related config.tcl. Obviously, macros are not connected with rest of power networks, thus have exactly three sets of warnings.
m
So the warnings are erroneous and should probably be removed in the case when there are no macros connected to the other supplies
πŸ™Œ 1
m
@Matt Venn Are you seeing 3 sets of warnings?
m
Yes
t
@Matt Venn in my opinion, these warning are affirmation of correct PDN connectivity. The misleading nature of these warnings can be cured by listing the resulting macro-Powernet mapping. I will submit a patch to openlane.
πŸ™Œ 1
m
Thank you!
m
Maybe a message like
[WARNING]: No internal macros will not be connected to power vccd2/vssd2.
would be more informative.
πŸ‘ 1
m
Will be ( avoid double negative)
😁 1
t
Or "[WARNING]: Macros a, b, c will not be connected to power vccd2/vssd2.
πŸ‘ 2
I found that above-mentioned code snippet is removed as of https://github.com/The-OpenROAD-Project/OpenLane/pull/1059.