Forum Discussion
Altera_Forum
Honored Contributor
16 years agoIssue in component editor
Hi all. I try to write a validation callback for a component I just wrote. I get a weird TCL issue (that I don't get in a classical TCL script, I checked) Here is my code: --...
Altera_Forum
Honored Contributor
16 years agoproblem solved
--- Quote Start --- proc validate {} { if {([get_parameter_value PORT_31_TRISTATE] == "false") && ([get_parameter_value PORT_31_INIT] == "HIGH_Z")} { send_message error "PORT_31_INIT cannot be set to 'HIGH_Z' as PORT_31_TRISTATE has been set to false" }[/INDENT] } --- Quote End --- I had tried that before but I forgot the double quotes around 'false'...