Hello,
im searching for a way to pass generics/parameters through the Hierarchy of multiple platform Designer files.
E.g. I have the following architecture:
- top.qsys
- submodule.qsys
- custom_module (ip core, VHDL files, _hw.tcl)
- Generic: my_param (integer)
- custom_module (ip core, VHDL files, _hw.tcl)
- submodule.qsys
Now I can make my_param available in submodule.qsys by adding it as parameter to _hw.tcl.
But I don't see any option to control this parameter from top.qsys by passing through the parameter through the qsys hierarchy.
This leaves me with 2 questions?
- Is it possible to add parameters to a .qsys submodule?
- Is there any way how to control a IP core parameter from a .qsys module other than the one that is instantiating it?
Thanks for any help
best regards
Fabian
This is probably what you are looking for: https://www.intel.com/content/www/us/en/docs/programmable/683609/25-1/exporting-hdl-parameters-to-a-system.html
連結已複製
Thanks, this link solves the problem for me.
But I don't get the exported HDL Parameter in the "Parameters" view of the subsystem. It only appears in the "HDL Parameters" view. What exactly is the different in usage between these views:
- Parameters
- HDL Parameters
best regards
Fabian
When you say "view", do you mean "tab"? The Parameters tab is for setting parameters of the currently selected component in the System View. The HDL Parameters tab is for passing and overriding parameters between different hierarchical levels of the system.
If you're asking why the exported parameters do not appear on the Parameters tab for a higher-level subsystem, that's because they are all managed on the HDL Parameters tab and are applicable to individual components in a subsystem. You overwrite the lower-level parameter in the "Modules with Exported HDL Parameters in System" table at the bottom of the tab.
