Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
1198 Discussions

multiple if-else statement run on a10 board get wong outcome

FTao0
Beginner
1,460 Views

As listed in the iftest.cl, I want to call [ushort fundlist(ulong fundid)] function to get the memory load pos of fundid, but I run [iftest.aocx] on a10 board, only the last two fundid get the correnct pos( 0x353032303535-->346、 0x353032303234-->347), other fundid call [ushort fundlist(ulong fundid)] function get wrong pos 346.

0 Kudos
2 Replies
EBERLAZARE_I_Intel
1,449 Views

Hi,

 

I am not particular sure on your question,have you tried to run maybe a few line of if-else initially?

 

Which version are you using to compile?

0 Kudos
FTao0
Beginner
1,449 Views

Hi,

​aoc -version is [Version 17.1.1 Build 273]

 the result is right when run ten lines of if-else, but when I tried to run iftest.cl in which listed hundred of if-else statements, the result was wrong

0 Kudos
Reply