The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 5th, 2024, 9:39pm
Pages: 1
Send Topic Print
Simple questions from a starter (Read 9034 times)
moisiad
New Member
*
Offline



Posts: 5
Athens, Greece
Simple questions from a starter
Sep 26th, 2005, 8:00am
 
Hi

I am using both Spectre and AMS simulators in schematic and layout level. But now in order to run some fast simulations in large systems (e.g. PLL) i want to import some behavioral descriptions of basic circuits (PFD, Freq. divider). However i have no previous experience

As far as i know there are several "languages" in describing analog circuits (VerilogA, VerilogAMS, SpectreHDL). Can you please inform me for the following items:
1) Which of them are compatible with the above mentioned simulators?
2) Is there any tool to generate a behavioral description from schematic, or do i have to write the code?
3) Is is easy to modify a given behavioral description to an other (are there any tools) or it is done by hand.

Thank you in advanced
Back to top
 
 
View Profile   IP Logged
byang
Community Member
***
Offline



Posts: 46

Re: Simple questions from a starter
Reply #1 - Sep 26th, 2005, 10:32am
 
As far as I know, there is no automatic generation of behavioral model for the components.

Since you want fast simulation of the whole PLL, I wonder whether you have tried fast-Spice tools such as Hsim or Ultrasim.

Baolin
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Simple questions from a starter
Reply #2 - Sep 27th, 2005, 3:21am
 
Actually Baolin, there is a Cadence tool to do this. It's called VSDE DCM (yet another acronym...). I forget what DCM stands for, but it's part of the Virtuoso Specification Driven Environment (aka "Aptivia").

There's also "modelwriter" - a tool for building Verilog-A models from templates, and a library ahdlLib with some models you can use as starting points.

Spectre supports Verilog-A and SpectreHDL (but SpectreHDL is effectively obsolete and is likely to not be supported for much longer).

AMS Designer supports both Verilog-A and Verilog-AMS (but not SpectreHDL).

With a little bit of knowledge (I'd recommend Ken and Olaf's book http://www.designers-guide.org/Books/#Kundert-2004)
it is fairly straightforward to modify existing models to adapt them to your needs.

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: Simple questions from a starter
Reply #3 - Sep 27th, 2005, 5:01am
 
Greetings,

To answer the questions yet another way:

1) see Andrew's append

2) There are commercial products that do generate
    Verilog-A models from circuit schematics. However
    if you want to simulate a PLL then this approach is
    probably not required.

3) ModelWriter is a tool that makes it easy to modify
   the models without having to write VerilogA code.
   However, there are only limited number of templates
   in the libraries provided and only Verilog-A are
   supported.

BTW,   DCM, Design Characterization Module, was the
Antrim name for the product. The new name is VCME,
Virtuoso Characterization and Modeling Environment.

If you are really only interested in PLL simulation then
you should not have too many issues. The models in the
Designer's Guide Analysis section are written in Verilog-A
and work well in Spectre. Also Cadence provides several
behavioral modeling libraries. Please look at the examples
in bmslib since they include both Verilog-A and Verilog-AMS
examples.

In reality, if you use AMSD then you will only need two
models, a charge pump and a VCO. The VCO has been
covered in another thread in detail and you can re-use
Ken's charge pump. The logic can alll be done very
effectively using gate level/structural Verilog-D. There is
one cavaet, remember that the PFD is a mixed-signal
circuit and you must include the delays for all the gates.

Finally, just wanted to go back to the point about
generating behavioral models from schematics. That
technology is progressing, however, in many cases you
do not need it. What you are interested in the behavior
of the overall system and to understand that you do not
need the generate models that exactly replicate the
architecture of a particular circuit. For example, when
simulating with an op-amp, you want to model open-loop
gain, bandwidth, slew rate, ... The fact that the op-amp
is a folded cascode or a telescoping is not interesting as
long as you model the relevant behavior. (In the
aftermentioned case, input common level and output
swing need to be modeled).  So unlike most IP, behavioral
models are almost 100% re-usable.

The other issue is that fitting behavioral models can
be as hard as writing behavioral models.This is where
VCME really helps. It includes both behavioral model
templates and the testbenches required to characterize
the blocks.

                                                       Best Regards,

                                                          Sheldon
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Simple questions from a starter
Reply #4 - Sep 27th, 2005, 8:46am
 
Sheldon,

Thanks for reminding me what the latest name for the product is! I've a hopeless memory for acronyms  :'(

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
byang
Community Member
***
Offline



Posts: 46

Re: Simple questions from a starter
Reply #5 - Sep 27th, 2005, 3:20pm
 
Hi, Guys,

From technology point of view, real automatic generation of nonlinear model for schematic seems very hard. The black-box approaches I know such as neural netowrk, Voltera series, and nonlinear model order reduction are not that mature in my opinion. Anyone knows what method the Antrim tool uses? Antrim promised a lot of great things including analog synthesis, which didn't turn out that well Smiley

If it is not really "automatic", then it is probably easier.

Thanks,

Baolin
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Simple questions from a starter
Reply #6 - Sep 27th, 2005, 10:34pm
 
Sheldon can probably answer better than me, but as far as I know it uses optimisation to fit a model template to the measured circuit, and data extraction which it then uses in table lookup models. It may do other fancier things too - but I'm not that familiar with using the tool in practice.

Regards,

Andrew.

Back to top
 
 
View Profile WWW   IP Logged
moisiad
New Member
*
Offline



Posts: 5
Athens, Greece
Re: Simple questions from a starter
Reply #7 - Sep 28th, 2005, 7:36am
 
Thank you all for your quick and analytical answers.

Something final. I have found some very usefull veriloga models. How can i get a symbol from a veriloga model (In spectre RF), in order to import it in my schematic?

Thanks
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Simple questions from a starter
Reply #8 - Sep 28th, 2005, 7:44am
 
If you create a Verilog-A view in DFII - File->New->CellView
and set the tool to "Verilog-A editor" it will bring up a
text editor (vi by default, but if you do something like

Code:
editor="nedit"
 



in the CIW first, it will use whichever editor you prefer).

Enter the code in that editor, save, and exit the editor. It will then analyse the code for syntax, and then ask if you want a symbol creating automatically.

Alternatively, if you have a schematic open, you can use the Design->Create CellView->From Cellview form to
fill out a source and destination view (from Verilog-A to
symbol).

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
jbdavid
Community Fellow
*****
Offline



Posts: 378
Silicon Valley
Re: Simple questions from a starter
Reply #9 - Oct 4th, 2005, 5:21pm
 
Since Sheldon (art?) didn't answer this, I will..

[quote author=byang  link=1127746857/0#5 date=1127859641]Hi, Guys,

From technology point of view, real automatic generation of nonlinear model for schematic seems very hard. The black-box approaches I know such as neural netowrk, Voltera series, and nonlinear model order reduction are not that mature in my opinion. Anyone knows what method the Antrim tool uses? Antrim promised a lot of great things including analog synthesis, which didn't turn out that well Smiley

If it is not really "automatic", then it is probably easier.

Thanks,

Baolin [/quote]
It is Automatic, but it's not "Black Box" .. it is actually template driven.. you select the circuit and the template that best matches your circuit.. (chargePump, VCO ,And gate etc) then you match the actual pin names to the pin functions in the model and define the simulation conditions (sources, supplies and loads) and now the problem is sufficiently constrained (if the template has been developed.. and if that template fits what you really need. )
this is something I plan to use to keep internal IP up to date and validated..
Jbdavid
Back to top
 
 

jbdavid
Mixed Signal Design Verification
View Profile WWW   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.