swapnil_vlsi
Full Member level 1
Hoe the file inclusion ( `include ) compiler directive is used to insert the entire contents of a source file in another file during compilation.i.e. The result is the contents of the included source file appear in place of the `include compiler directive.IS the `include compiler directive can be used to include global or commonly used definitions and tasks without encapsulating repeated code within module boundaries.
suppose i wrote one file name "swapnil_user_constants.v" ... and this file to be included in "swapnil_constants.v"as
`include "swapnil_user_constants.v"
but while checking syntex in Xilinx it shows error like such file does not exist...
how can i include such file
can any body tell me
suppose i wrote one file name "swapnil_user_constants.v" ... and this file to be included in "swapnil_constants.v"as
`include "swapnil_user_constants.v"
but while checking syntex in Xilinx it shows error like such file does not exist...
how can i include such file
can any body tell me