MammPp
Junior Member level 2
Hi all,
I tried to model the circuit which required the repeat calculation such as
Resistor in out R = A*10
Where A is calculated from the other equations such as
A = V(in,out)+step*I(Resistor)
When the parameter A is updated, the resistance will change and parameter A will update again then the resistor would change again and so on.
From this point, I tried to use for loop within the HSPICE.
Someone recommend me about using the C programming and update the script. However I wondered that is there any more simple method than above ?
Thank you for your help
MammPp
I tried to model the circuit which required the repeat calculation such as
Resistor in out R = A*10
Where A is calculated from the other equations such as
A = V(in,out)+step*I(Resistor)
When the parameter A is updated, the resistance will change and parameter A will update again then the resistor would change again and so on.
From this point, I tried to use for loop within the HSPICE.
Someone recommend me about using the C programming and update the script. However I wondered that is there any more simple method than above ?
Thank you for your help
MammPp