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 agoTry comparing it to be equal to 0 instead of inverting it. If you look at the read or write masters in this design you'll see some boolean comparisons in the validation callback similar to what you are doing: http://www.altera.com/support/examples/nios2/exm-modular-scatter-gather-dma.html
There might be cleaner ways to code it..... I wouldn't know since I only know enough .tcl to get my job done :)