Krzysztof Herman
02/21/2024, 6:47 PMlvs_format="@name @pinlist @model L=@L W=@W ng=@ng m=@m"
format="@spiceprefix@name @pinlist @model W=@W L=@L ng=@ng m=@m"
Finally the lvs format does not have the spice prefix. What is the reason to implement it this way? I am asking because we (IHP) are pushing for Qucs-S to be the principal schematic capture tool in RF flow and we would like to generate netlists using valid format.
RegardsStefan Schippers
02/21/2024, 10:34 PMlvs_format
attribute is used.
xschem has an option '`LVS netlist`'. When this option is enabled the netlist rule for a component is taken from the lvs_format
attribute if existing (otherwise use the standard format
attribute).
A typical case is for example a silicon diode that is described in the spice models as a subcircuit (so an X is needed in front of the instance name), XDxxx
while for LVS it is treated as a normal diode, Dxxx
line).
Another scenario where this lvs_format
may be used is for components that have a lot of instance parameters to describe simulation device details, while for checking schematic vs layout only the physical dimension parameters and multiplier are used (like W
, L
, m
for MOS transistors). To avoid warnings from the LVS compare tool (like Netgen) about unrecognized parameters a dedicated lvs_format
netlist rule can be used.
Of course the ideal situation is to avoid these simulation-LVS differences so no lvs_format
is needed at all...Krzysztof Herman
02/22/2024, 7:33 AMStefan Schippers
02/22/2024, 11:20 AMKrzysztof Herman
02/22/2024, 11:24 AM