Passing down params to subckt?

Hello Qspice,

I wonder if you can pass down Params to the subckt, and if so how do you achieve this?

QSPICE uses what’s become an industry standard convention. You can add " myparam=1k" as an attribute to a subcircut’s symbol.

–Mike

1 Like

Thank you Mike,
I was on the right way yesterday but somehow it didn’t work.
Maybe the update fixed it, anyway now it works as intended.

Hi
Passing parameters is simple.

X1 uses default parameters from subcircuit.
X2 uses parameters defined on top level.

Reading help file is enough for understanding how design hierarchically. I spend about 2 minutes.

– Regards,
Victor

2 Likes