Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21325 Discussions

system console: onClick proc is not called

Altera_Forum
Honored Contributor II
1,032 Views

Hi, 

I've strated using system console. 

I tried to write a function that creates a button, and waits for the user to press it. 

I do it by using vwait on a certain variable, and this variable will change by the onClick proc that is connected to the button. 

it seems that because of the vwait, the click on the button doesn't call the onClick procedure. 

it looks like everything is stuck until the vwait is finished, but the vwait waits for the user to click. 

even if I type in the tcl console puts "hello", it gets stuck. 

(note, that I checked that the onclick proc is called if I remove the vwait, but I need it, as I need to have a some sort of pause/resume button) 

 

any ideas? 

Ravid
0 Kudos
0 Replies
Reply