Forum Discussion
Altera_Forum
Honored Contributor
8 years agoQsys disable interface based on parameter
Hi, I have a VHDL component packed as Qsys Component Editor and I need to disable interface based on parameter set by user. I have used naive approach and have this in TCL:
add_parameter...
Altera_Forum
Honored Contributor
8 years agoOK, I've solved it.
You need to create an elaboration callback and change the property there:
set_module_property ELABORATION_CALLBACK elaborate
proc elaborate {} {
set_interface_property MDIO_MASTER ENABLED
}