EIbra
New Contributor
7 years agoHow to `include file in the IP Verilog source?
I have project with Qsys and custom IP
IP has main Verilog file comm_channel_control.sv with lines
module (...)
...
`include "comm_channel_control_params.svh"
...
endmodulemain module and "comm_channel_control_params.svh" are in the folder $PROJECT_FOLDER/ip/comm_channel_control/
Analysis&Synthesis says
Error (10054): Verilog HDL File I/O error at comm_channel_control.sv(45): can't open Verilog Design File "comm_channel_control_params.svh"
How can I use `include in sources of ip ?