Altera_Forum
Honored Contributor
16 years agoSOPC component Hardware TCl file Error
Hi,
I have made an IP component TCL file for SOPC builder in quartus II version 8.1. Now I am using the same file in quartus II version 9.0, it gives me error while adding a component. In TCL file I have used the callback function to display the message on component editor as per entered parameter. Please see attached screen shot for the error message. Also find the callback function added in TCL file below. # callouts set_module_property Validation_Callback validate # Module parameters add_parameter "Simulation" "integer" "0" "0 = no simulation; 1 = simulation" set_parameter_property "Simulation" "display_name" "Enter Simulation Option" set_parameter_property "Simulation" ALLOWED_RANGES {0 1} proc validate {} { set Simualtion [get_parameter_value "Simulation"] if {$Simulation == 0} { send_message "info" "Disabling simulation." } else { send_message "info" "Enabling simulation." } } Can any one help me in debugging this? Regards, Jigar G. Shah