n00b question....

B

Baco

Guest
How do I include a file ( in this case a configuration file with parameters
in it only )
I read it was like this 'include filename.ext
tho this seems not to work....
 
Baco wrote:
How do I include a file ( in this case a configuration file with parameters
in it only )
I read it was like this 'include filename.ext
tho this seems not to work....

Depending on the compiler you are using, you need to pass an option to
the compiler to look for included files. For example, ncverilog needs
+incdir+<path> for the include to work. Check your compiler's reference
page for help text for the exact option to pass.

Jason
 
If the included file contains only "parameter"s, the "`include" statement
needs to be put inbetween "module" and "endmodule".

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


"Baco" <baco.pt.no.spam@sexmagnet.com> wrote in message
news:02d3ab9ae6e1a0fe5c853cd39c51b98c@localhost.talkaboutprogramming.com...
How do I include a file ( in this case a configuration file with
parameters
in it only )
I read it was like this 'include filename.ext
tho this seems not to work....
 

Welcome to EDABoard.com

Sponsor

Back
Top