so....what I found in _hw.tcl is like:
"add_parameter DATA_WIDTH int 32 "Width of each input or output"
set_parameter_property DATA_WIDTH DISPLAY_NAME "Word Size"
set_parameter_property DATA_WIDTH GROUP "Register File Properties"
set_parameter_property DATA_WIDTH AFFECTS_PORT_WIDTHS true
set_parameter_property DATA_WIDTH ALLOWED_RANGES {8 16 32}
add_parameter ENABLE_SYNC_SIGNALS int 0 "Output syncronization signals"
set_parameter_property ENABLE_SYNC_SIGNALS DISPLAY_NAME "Syncronization signals"
set_parameter_property ENABLE_SYNC_SIGNALS GROUP "Register File Properties"
set_parameter_property ENABLE_SYNC_SIGNALS AFFECTS_PORT_WIDTHS true
set_parameter_property ENABLE_SYNC_SIGNALS ALLOWED_RANGES { "0:Disabled" "1:Enabled" }
add_parameter MODE_0 int 2 "Set the read/write capabilites of the register pair 0"
set_parameter_property MODE_0 DISPLAY_NAME "Register 0 capabilites"
set_parameter_property MODE_0 GROUP "Register File"
set_parameter_property MODE_0 AFFECTS_PORT_WIDTHS true
set_parameter_property MODE_0 ALLOWED_RANGES { "0:Write Only" "1:Read Only" "2:Write/Read" "3:Write with Loopback" "4:Disabled" }
add_parameter MODE_1 int 2 "Set the read/write capabilites of the register pair 1"
set_parameter_property MODE_1 DISPLAY_NAME "Register 1 capabilites"
set_parameter_property MODE_1 GROUP "Register File"
set_parameter_property MODE_1 AFFECTS_PORT_WIDTHS true
set_parameter_property MODE_1 ALLOWED_RANGES { "0:Write Only" "1:Read Only" "2:Write/Read" "3:Write with Loopback" "4:Disabled" }
Should I modify the AFFECTS_PORT_WIDTHS with AFFECTS_ELABORATION as shown in that message window???