The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 10:24am
Pages: 1
Send Topic Print
Verilog-AMS in Cadence icfb (Read 8571 times)
ORNITORINCO
New Member
*
Offline



Posts: 5

Verilog-AMS in Cadence icfb
Nov 18th, 2008, 12:34pm
 
Hello everyone,

after more than one year simulating my PLLs in Cadence icfb (mostly transistor level schematic blocks) and spending days and days waiting for transient simulations to be completed (mmw pll), I have decided to put all the necessary effort in moving towards Verilog-AMS.

Since I need to mix transistor level blocks with Verilog-AMS blocks, I thought the most intuitive way to do so is to generate symbols for Verilog-AMS blocks and use them together with the other transistor level blocks in the schematic and use Spectre to simulate the whole thing. The problem is that when I create a verilogams cellview using the icfb library manager, in the moment I close the editor I get several error from ncvlog:
***************************
>DEFINE analogLib $CDS_INST_DIR/tools/dfII/etc/cdslib/artist/
>
>ncvlog: *W,DLCPTH (./cds.lib,13): cds.lib Invalid path '/tools/linsoft/lincad/ius58/tools/dfII/etc/cdslib/artist/analogLib' (cds.lib command ignored).
***************************
the problem is that the environment variable $CDS_INST_DIR (already defined in the icfb configuration file .cshrc) is not '/tools/linsoft/lincad/ius58', since that is the IUS58 installation directory, and ncvlog substitutes $CDS_INST_DIR  with the wrong value.

Can anybody help on this?

Reading "The Designer's Guide to Verilog AMS" by K.Kundert and O. Zinke, I realized that I may need to use the AMS Designer tool. Is AMS Designer much better than icfb for analog/mixed-signal simulation?  

Thanks in advance for any help!

Francesco
Back to top
 
 
View Profile   IP Logged
jbdavid
Community Fellow
*****
Offline



Posts: 378
Silicon Valley
Re: Verilog-AMS in Cadence icfb
Reply #1 - Nov 18th, 2008, 3:09pm
 
you are 8 years behind the times..
$CDS_INST_DIR has been deprecated since the move from 443 to 445..

YOU WILL NEED to revamp you environment scripts, and your model libraries to eliminate that..

cadence has provided new ways to specify the libraries so
what was

Code:
SOFTDEFINE bmslib $CDS_INST_DIR/tools/dfII/samples/artist/bmslib
 


will now be
Code:
SOFTDEFINE bmslib $(inst_root_with:tools/dfII/bin/icfb)/tools/dfII/samples/artist/bmslib 



time to move your environment into the 21st century..
Back to top
 
 

jbdavid
Mixed Signal Design Verification
View Profile WWW   IP Logged
ORNITORINCO
New Member
*
Offline



Posts: 5

Re: Verilog-AMS in Cadence icfb
Reply #2 - Nov 20th, 2008, 8:28am
 
Hello David,

thank you so much for your answer: I am still not a "cadence" guy, so I apologize for asking trivial questions! I am really trying to make my environment better, and I re-wrote the cds.lib file in order to include the syntax you suggested me, and it worked fine getting rid of the error. The only problem I had to face was to deal with the design kit cds.lib files to which I don't have write permission, and where the environment variable $CDS_INST_DIR iis used extensively. So I had to directly re-write them in the proper form inside my cds.lib and avoid INCLUDE statements to the original files.

At this point, though, it is not possible to simulate the Verilog-AMS file in the schematic of cadence ADE. Also, selecting ams from the simulators, I get an error saying that I need a config view for the file. I guess I need to understand better the verilog-AMS simulation flow. So, even though I don't want to ask for something it is written already in the (quite encyclopedic...) AMS Designer documentation, could anyone (please...) post a few lines in which it is clearly stated what are the tools I am supposed to setup in order to be able to simulate transistor level and Verilog-AMS blocks together? Is there any particular issues with design-kit (I use st90nmCMOS) that I should be aware of?

Thank you so much for any help!
Back to top
 
 
View Profile   IP Logged
godfather
Community Member
***
Offline



Posts: 36

Re: Verilog-AMS in Cadence icfb
Reply #3 - Nov 20th, 2008, 4:54pm
 
hi ORNITORINCO,

check out for path ic5###usr#/tools/dfii/samples/tutorials/AMS; in the AMS folder you will find a quick start tutorial. I think that will give enough understanding of the steps involved....hope this suffices....
Back to top
 
 
View Profile   IP Logged
ORNITORINCO
New Member
*
Offline



Posts: 5

Re: Verilog-AMS in Cadence icfb
Reply #4 - Nov 21st, 2008, 2:50pm
 
thank you very much for your hint: I've got the AMS tutorial to work. And some work on the hdl.var file solved some issues I had with the DK models.

Thanks!
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.