hi, <@U016HSAH6AE> `@name` is replaced with the '`...
# xschem
s
hi, @User
@name
is replaced with the '`name=xxx`' attribute, this is the instance name. Example the
@name
for a MOS symbol could be replaced in netlist with
M2
if the instance attributes define '`name=M2'`.
@model
is also replaced with the value of the attribute given to the instance placement. Xschem does not recognize
@model
as anything special, it is just an attribute to be substituted, of course in this context it is used as the spice model name. The
@symname
is a predefined attribute (you normally don't assign a value to symname at instance), it expands to the name of the symbol, for example,
@symname
for '`nmos.sym`' will be substituted with
nmos
. The various attributes for symbols are documented here.
👍 1