Forum Discussion
Altera_Forum
Honored Contributor
11 years agoMy understanding is that it is not possible to propagate qsys system parameters post-generation.
The component/instance parameters work fine as long as you instantiate the .qsys inside other .qsys systems, the limitation is that the instance parameters that you add to your .qsys are not converted into top level RTL parameters (they are only .qsys instance parameters and can only be used within QSYS). Here is an example of how to put into the Instance Script field inside the Instance Parameters tab : package require qsys 13.1 set_module_property Composition_callback My_callback proc My_callback { } { # Get The Value Of system_id parameter from the # higher-level system set top_id [get_parameter_value system_id] # Print Info Message send_message Info "system_id Value Specified: $top_id" # Use Above Value To Set Parameter Values For The Subcomponents set child_id_0 [expr {$top_id + 1} ] set child_id_1 [expr {$top_id + 2} ] # Set The Parameter Values On The Subcomponent Instances set_instance_parameter_value comp0 My_system_id $child_id_0 set_instance_parameter_value comp1 My_system_id $child_id_1 # Print Info Messages send_message Info "system_id Value Used In comp0: $child_id_0" send_message Info "system_id Value Used In comp1: $child_id_1" }