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.

[verilog] `include with path, relative to user home directory

Status
Not open for further replies.

bene_

Newbie level 6
Newbie level 6
Joined
May 27, 2010
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
germany
Visit site
Activity points
1,352
Hello,

I'm relatively new to Verilog and have a question about the `include directive.
Is it somehow possible to use ~/ in the path? It was not possible for me to make it work. I need to use the ~ and cannot use /home/<username>/ because it should work on different user accounts with local files.
 

The traditional method was to use only the filename and let the toolflow set the searchpath to find it. This worked fine until about 10 years ago when design size and complexity became overwhelming. Calling your defines file "defines.v" works great until two or three other designers on your chip do the same thing.

Today the best solution is for the toolflow to run each individual component thru a verilog preprocessor before loading them into the SOC. Your search path is tiny and you never have to worry about namespace collisions in the `tic namespace.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top