Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16545 Discussions

How to `include file in the IP Verilog source?

EIbra
Novice
773 Views

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" ... endmodule

main 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 ?

0 Kudos
2 Replies
EIbra
Novice
617 Views

Solved,

"Component Editor" window -> "Files" tab -> "Add File..."

Add files to include

0 Kudos
AnandRaj_S_Intel
Employee
617 Views

Thanks for sharing the solution, Which will help the community.

 

0 Kudos
Reply