Dec 31, 2005 #1 Z 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.
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.
Jan 1, 2006 #2 J JT Junior Member level 1 Joined Dec 20, 2005 Messages 18 Helped 2 Reputation 4 Reaction score 0 Trophy points 1,281 Activity points 1,474 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.
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.