Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

a delay help

hi iam new i nios 2, i just want to know how to get the delaycount in the program of the delay below:

delay : movi r5, delaycount

loop : subi r5 , r5 ,1

bne r5 , r6, loop

ret

need the answer as quick as possible and thanx in advance.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Have you tried find/grep for the delaycount value? You probably could see it from the eclipse-nios2 GUI.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Have you tried find/grep for the delaycount value? You probably could see it from the eclipse-nios2 GUI.

    --- Quote End ---

    ok thnx i will try it.