You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
subprogram can‘t return main function through ret instr. For example, verify_qsort funct can't return main, when executing 0x80001074 pc directly jumps to 0x00000000 ,then jumps to interrupt funct - trap_entry(0x80000120) ,as shown in the figure below。 。
According to my understanding,the right process is that verify_qsot returns to main , main returns to _init , _init returns to exit.
So , please tell me whether qsort program can run on e203 , or where does problem maybe occur ?
The text was updated successfully, but these errors were encountered:
Actually,I tried to run a test which contains qsort func on hbirdv2 SoC, and finally the result was successful.
For your case,I suggest you may check whether the "ret" is executed correctly through checking more related signals at first.
qsort func is under the benchmark dir. whether you use objcopy to get verilog(bin) file from original riscv(elf) file. Then through tb.v , dump instuction into imem.
subprogram can‘t return main function through ret instr. For example, verify_qsort funct can't return main, when executing 0x80001074 pc directly jumps to 0x00000000 ,then jumps to interrupt funct - trap_entry(0x80000120) ,as shown in the figure below。
。
According to my understanding,the right process is that verify_qsot returns to main , main returns to _init , _init returns to exit.
So , please tell me whether qsort program can run on e203 , or where does problem maybe occur ?
The text was updated successfully, but these errors were encountered: