I am trying to vary the inline subckt parameter as :
inline subckt n1 (d g s b)
parameters ad=0
n1 (d g s b) n1 ad=ad
model n1 bsim3v3
ends n1
a1 altergroup {
model n1 bsim3v3 ad=1
}
But getting the following error :
Error found by spectre during hierarchy flattening.
ERROR (SFE-2201): "input.scs" 20: In altergroup `a1', model `n1'
differs from its previous definition in "input.scs", line 13.
Can I have any workaround for this .