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.

Need help for solving error.

Status
Not open for further replies.

rakeshkrr

Newbie level 1
Newbie level 1
Joined
Nov 7, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
kansas city
Activity points
1,289
I am doing a project on micro UART using verilog.
I have all the files that are to be used for the project, but I have a problem with executing a .h extension file which is attached below along with other source codes for transmitter and receiver and baud rate.

Could any one can help me to execute this project?
Atleast is there any way to implement the contents of inc.h file into a new module which can be of .v extension file.
 

Hi,

The inc.h file is a Verilog include file used in the Verilog files. I am not sure what you mean with "execute" but when you try to simulate the code you have to compile only the Verilog files (.v) and set the "include directory" option to the directory where the inc.h file is. For Modelsim the include directory option can be set in the GUI or on the vlog command line:
vlog <options> +incdir+<path> <file to compile>


Devas
 

    rakeshkrr

    Points: 2
    Helpful Answer Positive Rating
no need to change the extension of the file. u can use it in model sim and any of the synthesis tool. just add the file to the project.
 

    rakeshkrr

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top