tnt
05/11/2024, 6:17 AMxschem
always add .GLOBAL VPWR
/ .GLOBAL VGND
?
I was trying to define a symbol/module with VPWR
/ VGND
pins that I could use to feed power to, but the generated .spice
behave weirdly and looking into it it has those global definitions. If I remove them, then it behaves as expected.Mitch Bailey
05/11/2024, 7:36 AMvdd
and gnd
symbols have a global=true
property. I copied these symbols to a local directory and removed the global property. That allowed me to use the symbols as local power and ground.
You might want to modify it slightly (maybe color?) to differentiate.tnt
05/11/2024, 7:50 AMtnt
05/11/2024, 7:50 AMStefan Schippers
05/11/2024, 8:08 AM.global
is added to the netlist.
You can either use @Mitch Bailey suggestion or transform the gnd.sym
instances in a circuit into lab_pin.sym
. You can do this in one shot by selecting all gnd.sym
symbols. Same thing for all vdd.sym
symbols. See image.tnt
05/11/2024, 8:12 AM