Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
16507 Discussions

How to `include file in the IP Verilog source?

EIbra
Novice
749 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
593 Views

Solved,

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

Add files to include

0 Kudos
AnandRaj_S_Intel
Employee
593 Views

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

 

0 Kudos
Reply