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

platform designer how to add -L argument to -makelib line in get_design_files using _hw.tcl

gavin5342
New Contributor I
1,130 Views

If I make a Platform Designer module with a _hw.tcl file, there doesn't seem to be a way to make PD add a -L argument to the -makelib line in get_design_files. It seems I must add all the files with packages that I use to the library for that module using add_fileset (like the Avalon verification IPs do).
Have I missed something, because I would rather compile a package once and then refer to it during compilation using -L?

Thanks,
Gavin

Labels (1)
0 Kudos
1 Solution
RichardTanSY_Altera
1,072 Views

Unfortunately, Platform Designer(PD) does not support the feature to add a `-L` argument to the -makelib line in get_design_files.

The _hw.tcl file is designed to be self-contained for IP distribution. PD expects all HDL dependencies (including packages) to be explicitly added to the IP's filesets using add_fileset or add_fileset_file, as seen in the Avalon verification IPs.


For reference, here is the link to the available Platform Designer _hw.tcl commands:

https://www.intel.com/content/www/us/en/docs/programmable/683609/25-1/hw-tcl-command-reference.html


Also attached a learning course video on how to customize _hw.tcl file, section 11. _hw.tcl File Customization

https://learning.intel.com/developer/learn/courses/388/custom-ip-development-using-avalonr-and-arm-amba-axi-interfaces/lessons/20490:863/custom-component-development-using-avalonr-and-arm-amba-axi-interfaces


Regards,

Richard Tan


View solution in original post

0 Kudos
3 Replies
RichardTanSY_Altera
1,073 Views

Unfortunately, Platform Designer(PD) does not support the feature to add a `-L` argument to the -makelib line in get_design_files.

The _hw.tcl file is designed to be self-contained for IP distribution. PD expects all HDL dependencies (including packages) to be explicitly added to the IP's filesets using add_fileset or add_fileset_file, as seen in the Avalon verification IPs.


For reference, here is the link to the available Platform Designer _hw.tcl commands:

https://www.intel.com/content/www/us/en/docs/programmable/683609/25-1/hw-tcl-command-reference.html


Also attached a learning course video on how to customize _hw.tcl file, section 11. _hw.tcl File Customization

https://learning.intel.com/developer/learn/courses/388/custom-ip-development-using-avalonr-and-arm-amba-axi-interfaces/lessons/20490:863/custom-component-development-using-avalonr-and-arm-amba-axi-interfaces


Regards,

Richard Tan


0 Kudos
gavin5342
New Contributor I
1,022 Views
0 Kudos
RichardTanSY_Altera
971 Views

Thank you for acknowledging the solution provided. I'm pleased to know that your question has been addressed. 

Now, I will transitioning this thread to community support. If you have any further questions or concerns, please don't hesitate to reach out. Please login to https://supporttickets.intel.com/s/?language=en_US , view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support.

The community users will be able to help you on your follow-up questions.


Thank you and have a great day!


Best Regards,

Richard Tan



0 Kudos
Reply