Using ideal VCVS in Spice

Status
Not open for further replies.

statedec

Newbie level 2
Joined
Jul 8, 2006
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,292
I want to use an ideal VCVS with a fixed gain (say 100) to give a fixed output (either vdd or vss), without using the min and max value while defining the VCVS.
Any suggestions?
The reason is that I have a lot of VCVS in my netlist, and I don't want to add the MIN and MAX values manually everytime I extract the netlist.
 

vcvs spice

Using like the following
Eco Vout 0 volt='(V(in,0)*100)'

But use too many VCVS may cause some problems.
 

vcvs pspice

statedec said:
The reason is that I have a lot of VCVS in my netlist, and I don't want to add the MIN and MAX values manually everytime I extract the netlist.
You can add min and max values in the schematic.

BTW, adding min and max values to netlist is convient in UNIX. Many tools can do this work. E.g.:
sed 's/^[Ee].*/& min=0 max=5/' netlist
 

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