The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 15th, 2024, 9:31am
Pages: 1
Send Topic Print
errors when compiling modules from ahdlLib (Read 5242 times)
Na Kong
New Member
*
Offline



Posts: 2

errors when compiling modules from ahdlLib
Jan 27th, 2007, 3:03pm
 
It says:
======================================================================
Compiling
/software/Cadence/IC5141/tools/dfII/samples/artist/ahdlLib/ind/veriloga/veriloga
.va in cellview ahdlLib.ind:veriloga
ncvlog: 05.81-p002: (c) Copyright 1995-2006 Cadence Design Systems, Inc.
ncvlog: *E,DLWRIT: Intermediate file for module ahdlLib.ind:veriloga (VST) could not be opened for writing (System error).
Verilog-AMS compile failed for  cellview ahdlLib.ind:veriloga
======================================================================

Does it mean the modules should be writable first, then can be compiled? But that isn't reasonable.  Could anybody tell me how to deal with this? Thanks a lot!

Na
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: errors when compiling modules from ahdlLib
Reply #1 - Jan 28th, 2007, 2:13pm
 
There are two solutions - one is to run "amsLibCompile" in <instdir>/tools/dfII/bin. This will compile all the Verilog-A libraries in the DFII installation. This is a configuration step during installation, but you can run it afterwards. To do this though, you'd need write access to the library.

The other approach is to add:

ASSIGN ahdlLib TMP ./ahdlLib_tmp

into your cds.lib file. This tells it to use ahdlLib_tmp in the working dir as a writable temporary directory for derived data from the ahdlLib - and so ncvlog will be able to compile into that.

Regards,

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



Posts: 2

Re: errors when compiling modules from ahdlLib
Reply #2 - Jan 28th, 2007, 6:03pm
 
Many thanks!

Na
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.