make_sym ("a" keybind): add spectre_format netlisting rule in symbol

This commit is contained in:
stefan schippers 2026-03-07 10:49:36 +01:00
parent 0644dcd06d
commit 0a7cef0c9d
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ function beginfile(f)
print "v {xschem version=3.4.8RC file_version=1.3}" > sym
if(template !~/^{[ \t\n]*$/) {
printf "%s", "K {type=subcircuit\nformat=\"@name @pinlist @symname\"\n" >sym
printf "%s", "spectre_format=\"@name ( @pinlist ) @symname\"\n" >sym
printf "%s\n", "template=\"name=x1\"" >sym
printf "%s", "}\n" >sym
}