platform designer how to add -L argument to -makelib line in get_design_files using _hw.tcl - platform designer how to add -L argument to -makelib line in get_design_files using _hw.tcl
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
Replies:
Re: platform designer how to add -L argument to -makelib line in get_design_files using _hw.tcl
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
Replies:
Re: platform designer how to add -L argument to -makelib line in get_design_files using _hw.tcl
Thanks Richard.
Replies:
Re: platform designer how to add -L argument to -makelib line in get_design_files using _hw.tcl
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 - 2025-07-17
external_document