The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 18th, 2024, 1:16am
Pages: 1
Send Topic Print
How to model this subcircuit in Virtuoso (Read 3962 times)
jimmy
Community Member
***
Offline



Posts: 32

How to model this subcircuit in Virtuoso
May 04th, 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
Back to top
 
 
View Profile   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: How to model this subcircuit in Virtuoso
Reply #1 - 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
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
aamar
Community Member
***
Offline



Posts: 57
Germany
Re: How to model this subcircuit in Virtuoso
Reply #2 - 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
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.