Forum Discussion
Altera_Forum
Honored Contributor
8 years agoFPGA code is blocked
Hi, When I run my code in emulator mode, the result is right. But after compile and run it in FPGA, it blocked! My code have used a lot of channels. What's the problem? How to debug ...
Altera_Forum
Honored Contributor
8 years agoDeadlocks that do not show up in emulation but happen during execution on the board are pretty much always caused by channel ordering issues. Unless you use channel fences, the compiler can and will reorder your channels to improve pipeline performance/efficiency, which could cause deadlocks. Use channel fences to fix the order of channel operations in your kernel.