how to modify an element value in a subckt

Status
Not open for further replies.

zzphht

Newbie level 1
Joined
Dec 31, 2005
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,286
spice passing parameters to a subckt

assume circuit X1 calls subckt X2 and X2 calls two subckt X3_1 and X3_2 (X3 are the same subckt). I want to change an element value , for example a resistor value, only in X3_2 and re-run the simulation. How to do it in HSpice?
thanks.
 

In Spice I do this by passing parameters with the subcircuit.
This way you can change (almost) any component value in the subcircuit.

I´m not sure whether this can be done with Hspice too.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…