Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi again!
I have found the problem:in the altera documentation "Quartus II Handbook Version 12.1 Volume 1: Design and Synthesis" on page 212 is the table 6-2 that shows the supported Tcl commands for the "Instance Script". These are: # get_parameters, get_parameters_values, get_instance_parameters, get_instance_parameters_values, send_messagem set_instance_parameter_value. Unfortunately it is not possible to declare other callback functions and to call other commands, so it is not possible to switch on/off parts of the subcomponent(IP-cores and interfaces) according to the instance parameters :( In my view that is a huge restriction for the IP-core design and I hope that I can find a possibility to workaround this issue! Does anyone have a suggestion, how to ENABLE/DISABLE parts of an IP-core depending on the instance parameters? A long-winding solution is to: Build a subcomponent with all possibly needed components in QSYS + declaration of the "Instance Parameters". Then export the QSYS component as a *_hw.tcl-file. Then you have to manipulate the composed_callback function depending on our needs. BUT, what happens when a customer want you to add or remove components of this IP-core?? -> You have to do the same procedure again, as there is no possibility to convert *_hw.tcl-files to *.qsys-files. with kind regards, MrFreshman