Forum Discussion
Altera_Forum
Honored Contributor
16 years agohow to export macro to system.h?
eg, I want to put # define MOD_0_FREQ 50000000u to system.h as many altera sopc ip do. And I try to add some line in the MOD_hw.tcl: add_parameter FREQ_PARAM 0 set_parameter_property FRE...
Altera_Forum
Honored Contributor
14 years agoTry 'set_interface_assignment' instead. I've noticed that set_module_assignment duplicates paramaters for each interface which may or may not be what you want. I think you'll end up with a longer name of <module name>_<interface_name>_<parameter> but the module name should be unique between your two custom instructions.