Forum Discussion
Altera_Forum
Honored Contributor
9 years agoOh, I thought you were talking about your own parameter called maxChannels. Yes, you would need an elaboration callback in the hw.tcl file, like this for example:
set_module_property ELABORATION_CALLBACK my_elaboration_callback proc my_elaboration_callback {} { if { [ get_parameter_value ENABLE_STREAM_OUTPUT ] == "false" } { set_port_property aso_data TERMINATION true set_port_property aso_valid TERMINATION true set_port_property aso_ready TERMINATION true set_port_property aso_ready TERMINATION_VALUE 0 } }