@Stefan Schippers is it possible to declare a global net in xschem ?
m
Mitch Bailey
12/04/2024, 5:09 PM
The
gnd
symbol (and others) from the primitive library instantiates a global signal. Check out the properties on the symbol.
k
Krzysztof Herman
12/04/2024, 5:11 PM
@Mitch Bailey thank you, I have just reproduced it for a substrate label
!sub
used in our pdk
👍 1
s
Stefan Schippers
12/05/2024, 9:43 AM
@Krzysztof Herman (@Mitch Bailey) VDD, GND symbols as well as net labels can be set global or not by adding a
global=1
or
global=0
attribute. Supply tier symbols (
vdd.sym
and
gnd.sym
) have a default setting of
global=1
, while
lab_wire.sym
and
lab_pin.sym
have a default of
global=0
. You can change these defaults by explicitly specifying a
global
attribute.
Note1: If you have multiple net names on the same net and only one has
global=1
attribute this is enough to consider the whole net global.Note2: If you declare global a net in a subcircuit (say net
DATA
inside
Xtop.Xsenseamp
) the
.global DATA
is added to the netlist. The hierarchy net
Xtop.Xsenseamp.DATA
is promoted to top level global
DATA
Suggestion. If you set a net label to "global=1" please add a text comment or other marker next to the label, if you copy over this label, change the net name and forget to remove the global attribute you will be creating multiple global nets.I will someday add some graphical element to these net labels if they are set to global, but for the time being take care of this.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.