Using a Header File in ModelTech

R

Rajat Mitra

Guest
Can someone show me how to include a Header File in ModelTech..I come from
the VCS / NCSim world and am just getting upto speed with Modelsim
Verilog....Basically in my source file I have
`include "cpu_sys.vh"
and added this file to the project. However I get a "Cant open cpu_sys.vh"
error....
This file has macros and some functions defined in it...

Thanks,

Raj

--
Rajat Mitra
 
Rajat Mitra wrote:
Can someone show me how to include a Header File in ModelTech..I come from
the VCS / NCSim world and am just getting upto speed with Modelsim
Verilog....Basically in my source file I have
`include "cpu_sys.vh"
and added this file to the project. However I get a "Cant open cpu_sys.vh"
error....
This file has macros and some functions defined in it...

Thanks,

Raj

--
Rajat Mitra
You either need to specify the full path in the filename, or there
should be an include directory option within the file options.
Good luck.
J.Retta
www.rtc-inc.com
 
Can someone show me how to include a Header File in ModelTech..I come from
the VCS / NCSim world and am just getting upto speed with Modelsim
Verilog
Use "+incdir+<directory>" option with vlog command.

Jim Wu
jimwu88NOOOSPAM@yahoo.com (remove capital letters)
http://www.geocities.com/jimwu88/chips
 

Welcome to EDABoard.com

Sponsor

Back
Top