Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

NC-Verilog hdl.var problem?

Status
Not open for further replies.

davyzhu

Advanced Member level 1
Advanced Member level 1
Joined
May 23, 2004
Messages
494
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,298
Location
oriental
Activity points
4,436
hdl.var

Hi all,

I am a NC-Verilog newbie and confused with NC-Verilog's file.

In cds.lib, map logical lib name to physical location
Code:
DEFINE ic_lib /lsi_lib

Why map again in hdl.var?
Code:
DEFINE WORK worklib
DEFINE LIB_MAP (myfile.v => mylib, ./cell_lib => techlib, + => worklib)

Does "myfile.v => mylib" means compile myfile.v to mylib?
And what's "+ => worklib" mean in LIB_MAP?

Best regards,
Davy
 

ncvlog hdl.var worklib

Hi again,

davyzhu said:
Hi all,

I am a NC-Verilog newbie and confused with NC-Verilog's file.

In cds.lib, map logical lib name to physical location
Code:
DEFINE ic_lib /lsi_lib

Yes, cds.lib is for defining LIBRARIES (as the extension says).

Why map again in hdl.var?

hdl.var --> Defines HDL Variables such as:


  • WORK
    Tool options (NCVHDLOPTS, NCELABOPTS, NCVLOGOPTS, NCSIMOPTS etc.)
    Files to library maps

Read that from a VHDL perspective - one can have several libraries and have different design units compiled to different libraries. For that you need a mechanism to associate which files go to which library.

Code:
DEFINE WORK worklib

This specifies a default WORK for you. Again little VHDL centric - VHDL needs a WORK to compile any thing. One can override this with command line -work option. Note that the "worklib" above is a LOGICAL name and that must be defined by a cds.lib to a physical directory.


Code:
DEFINE LIB_MAP (myfile.v => mylib, ./cell_lib => techlib, + => worklib)
Does "myfile.v => mylib" means compile myfile.v to mylib?

Slowly becoming a NC expert you are :)
And what's "+ => worklib" mean in LIB_MAP?

Best regards,
Davy

Any other file goes there - i..e like "*" in regular expressions, default in a Verilog case statement etc.

HTH
Ajeetha, CVC
www.noveldv.com
 
  • Like
Reactions: imike

    davyzhu

    Points: 2
    Helpful Answer Positive Rating

    imike

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top