hronad
New Member
Offline
Posts: 2
Dallas
|
Hi,
I am trying to model a bias current pin (assume 1uA source current), if I define pin as current and assign the value then independent of other block sinking the current, this model will be pumping the current and node voltage can go infinite.
So I defined it as electrical and tried forcing the current and voltage on this pin, then it just takes the voltage assignment, does not show current.
Could you please suggest how to model bias current where if other block not sinking the current, bias pin voltage should go to supply voltage and no current sourcing, as soon as there is sinking model should source constant bias current and voltage on bias pin should drop.
Similarly how to model sink current ? where I check voltage on sink_bias pin, and sink constant current if voltage is above VDS_sat?
|