Forum Discussion

FTao0's avatar
FTao0
Icon for New Contributor rankNew Contributor
5 years ago

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

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.

2 Replies

  • 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?

    • FTao0's avatar
      FTao0
      Icon for New Contributor rankNew Contributor

      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