quartus compilation error for `include "sr_def_param.vh"
hiii,
i have quartus project in which i have qsys_top.qsys. In qsys_top.qsys , i have instantiated a custom ip , radio_config.ip. the radio_config.ip is created using a rtl file radio_config.v
i have sr_def_param.vh file where i have defined all my compiler directives.
when i am including this sr_def_param.vh in radio_config.v using `include "sr_def_param" and placing the sr_def_param.vh file in the same directory of where radio_config.v is placed, i am getting quartus compilation error. "radio_config could not open sr_def_param". but when i am opening radio_config.ip and then doing analyze hdl file , there is no error.
similarly, if i place the sr_def_param.vh file in quartus project location and then i use `include "sr_def_param" , then there is no quartus compilation error but when i am opening radio_config.ip and then doing analyze hdl file , there is errror "radio_config could not open sr_def_param".