The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design >> Analog Design >> How to model this subcircuit in Virtuoso
https://designers-guide.org/forum/YaBB.pl?num=1146806567

Message started by jimmy on May 4th, 2006, 10:22pm

Title: How to model this subcircuit in Virtuoso
Post by jimmy on May 4th, 2006, 10:22pm

Hi,

I want to make the schematic for the following subcircuit in cadence with Virtuosos. I don't know which component I should use to describe the controlled voltage/current sources whose values are functions of terminal's voltage/current and the other controlled source's value. Please help.

.subckt com 1 2 3 4 5
E1 1 2 value=((1-v(5))*v(3,4)/v(5))
G1 4 3 value=((1-v(5))*I(E1)/v(5))
.ends

thank you very much,
jimmy

Title: Re: How to model this subcircuit in Virtuoso
Post by bernd on May 5th, 2006, 1:21am

Have you tried the depended sources form 'analogLib'
vcvs (voltage controlled voltage source) and
vccs (voltage controlled current source).
But I'm pretty uncertain that you can use the value as a
function of the terminal with them.
For more info see the Docs, 'Analog Library Reference Guide',
chapter 6, 'Sources - Dependent Components'.

Or maybe VerilogA modelling is an option for you there are
example sources in the sample library 'ahdlLib',
(/<instDir>/tools/dfII/samples/artist/ahdlLib)
Cells: vccs_hdl and vcvs_hdl

Bernd

Title: Re: How to model this subcircuit in Virtuoso
Post by aamar on May 5th, 2006, 1:44am

Hallo,

If you can use spectre then do the following

The voltage/current controlled source is called bsource in spectre language

so you can define it as follows

==========================
simulator lang = spectre

subckt com 1 2 3 4 5'

i1 (4 3) bsource i=((1-v(5,0))*i("E1")/v(5,0))

ends com
===========================

inorder to create a symbol for this subcircuit  follow the following link:

http://www.designers-guide.org/Forum/YaBB.pl?num=1118940189/0#0

Best regards,

aamar

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