Jeremy Reeve
03/04/2024, 9:36 PMStefan Schippers
03/04/2024, 9:48 PMtype=subcircuit
format="@name @pinlist @symname"
template="name=x1"
Jeremy Reeve
03/04/2024, 9:51 PMStefan Schippers
03/04/2024, 9:52 PM.sym
file ?
• where is the (vcvs) .sch
file?
• are they in the same directory and is the directory listed in the XSCHEM_LIBRARY_PATH list of directories as specified in your xschemrc
file?Stefan Schippers
03/04/2024, 9:53 PMStefan Schippers
03/04/2024, 9:53 PMJeremy Reeve
03/04/2024, 9:54 PMStefan Schippers
03/04/2024, 9:55 PMJeremy Reeve
03/04/2024, 10:20 PMStefan Schippers
03/04/2024, 10:51 PMStefan Schippers
03/04/2024, 11:35 PMtype=subcircuit
format="@name @pinlist @symname"
template="name=x1"
Stefan Schippers
03/04/2024, 11:36 PMtype=subcircuit
xschem does assume it is not a subcircuit and will not even try to descend into it.Jeremy Reeve
03/04/2024, 11:40 PMStefan Schippers
03/04/2024, 11:46 PMtype=subcircuit
format="@name @pinlist @symname OFFSET=@OFFSET AMPLITUDE=@AMPLITUDE GAIN=@GAIN ROUT=@ROUT COUT=@COUT"
template="name=x1 OFFSET=0 AMPLITUDE=5 GAIN=100 ROUT=1000 COUT=1p"
and the designer adds one pin to the sub schematic and wants to update the symbol with '`make symbol from schematic`' it would be irritating if the long list of attributes gets thrown away and replaced with the bare minimum defaults. However in your case of a symbol with '_no attributes at all_' these should definitely not be preserved 😀