The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Nonlinear Dependent Sources in HSpice
https://designers-guide.org/forum/YaBB.pl?num=1283888685

Message started by bhavuli on Sep 7th, 2010, 12:44pm

Title: Nonlinear Dependent Sources in HSpice
Post by bhavuli on Sep 7th, 2010, 12:44pm

Dear all.

I am trying to simulate a very simple circuit in Synopsys HSpice which should have a current-dependent current source (CCCS).

However, this CCCS must be a nonlinear.

While I am be to find in the user manual the support for polynomial, delay, ... type of CCCS, I am not able to find how to include other arithmetic functions.

For example, my CCCS should take the log() of the current it is dependent on. That is:

Vbias p 0 10
R1 p 0 50

** and then
CCCS that should take the log() or other function of the current through R1

Please, please help me on this; I have tried for a couple of day, but have not progressed. Please help me on this.

Thank toy for your time and help.

Best regards,

Title: Re: Nonlinear Dependent Sources in HSpice
Post by pancho_hideboo on Sep 8th, 2010, 8:58am


bhavuli wrote on Sep 7th, 2010, 12:44pm:
I have tried for a couple of day, but have not progressed.
Surely read documents of HSPICE.

The followings are extractions from documents of HSPICE.
Quote:
Current-Dependent Current Sources — F-elements
This section explains the F-element syntax and parameters.
Note:
G-elements with algebraics make F-elements obsolete. You can still use Felements for backward-compatibility with existing designs.


Use G-Element instead of F-Element.

Code:
Gxxx n+ n- CUR=’equation’ <MAX>=val> <MIN=val> <M=val> <SCALE=val>


Title: Re: Nonlinear Dependent Sources in HSpice
Post by bhavuli on Sep 9th, 2010, 10:53am

Thank you very much for this pancho_hideboo!


The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.