Christoph Maier
03/22/2024, 4:20 AMStefan Schippers
03/22/2024, 8:44 AM@w
text in its symbol and w=wn
is set in the transistor placement and wn=wnn
is set in the nand gate and wnn=4u
is set in the flip flop that uses the nand gate, if you descend down to the transistor it will show 4u where @w is present in the symbol.
substitution is not done in the netlist for 2 reasnos, the second one being fundamental:
• all modern simulators handle parametrized subcircuits
• you only have one subcircuit for a nand gate and you might have many placements each with different sizing (if the nand is parametric). You can not replace the parametrized dimensions with numbers, unless you flatten the nand gate and place bare transistors, and do this for all hierarchy levels containing the nand gate if they propagate parameters.