The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 6:19am
Pages: 1
Send Topic Print
Using analogLib components with verilog-AMS (Read 3931 times)
immcinto
New Member
*
Offline



Posts: 2

Using analogLib components with verilog-AMS
Jan 19th, 2010, 5:18am
 
I have a fairly complex 3-phase moter model that I built a while ago using analogLib components but I would now like to drive the model using a micro that is modelled in verilog-HDL. I am using verilog-AMS to simulate but of course the simulation is much slower than if I sim only the digital section. My question is - would replacing the analogLib primitives (resistor, inductor, vcvs etc.) with the equivalent verilog-AMS models cut the sim time significantly (order-of-magnitude)? I realize the verilog-AMS version would be a bit quicker due to less translation etc. but I believe that the Spectre simulator still has to be used for the analog components realized in verilog-AMS so I suspect I would not see a greatly reduced sim time. correct?  Are there any other techniques that I could use to speed up the sim?

thanks for any help.
.jim.
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: Using analogLib components with verilog-AMS
Reply #1 - Jan 19th, 2010, 6:31am
 
A straight conversion of the analog primitives into VerilogAMS won't speed it up (if anything it could be slightly slower).

Depending on what is the root cause of the slowness, you could get it faster by writing a more direct VerilogAMS model of the motor though, but all the time it has continuous nodes (continuous in time) it will still need an analog solver (e.g. spectre) to solve and won't be as fast as the pure digital simulation.

So one approach is to use the real-number modelling technique - see <IUSinstDir>/doc/wreal/wreal.pdf (the Verilog-AMS Real Valued Modeling Guide) which shows how to use event-driven reals instead, which can be used entirely in the event-driven (i.e. digital) solver.

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
immcinto
New Member
*
Offline



Posts: 2

Re: Using analogLib components with verilog-AMS
Reply #2 - Jan 19th, 2010, 7:14am
 
Thanks, wreal.pdf is not in our path. Is there another I can read the documentation?
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: Using analogLib components with verilog-AMS
Reply #3 - Jan 19th, 2010, 10:37am
 
Which version of AMS are you using? (ncsim -version should tell you). I was looking in IUS82, but it will also be in INCISIV92.

Otherwise you can look this up on Cadence Online Support http://support.cadence.com - or rather you could normally, but there's been a major power failure in San Jose due to the weather there - I believe a tree has come down and taken out the power to the Cadence Campus.

Regards,

Andrew.
Back to top
 
 
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.