Forum Discussion
Altera_Forum
Honored Contributor
17 years agoexport custom SOPC component generics to system.h
I have written a custom SOPC builder component in VHDL. I have also written a <sopc_component>_hw.tcl file to allow it to be instantiated in SOPC builder. Is there a way to export some of the s...
Altera_Forum
Honored Contributor
17 years agojake... thanks this works!!
just like this: set_module_assignment embeddedsw.CMacro.COLS_IN \ [get_parameter_value COLS_IN] set_module_assignment embeddedsw.CMacro.ROWS_IN \ [get_parameter_value ROWS_IN] yields the following output in my system.h file: # define AVALON_COMPONENT_0_COLS_IN 640# define AVALON_COMPONENT_0_ROWS_IN 480 thanks!