Forum Discussion

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

Execution problems

I bought the Nios 2 Evaluation Kit and I successfully ran 'count_binary' example.

After that I've made modifications in Quartus and then I've updated the FPGA with the new .sof file.

Now I'm no more able to execute count_binary. It seems that PC increments correctly through the starting line of the assembly code but sometimes the instructions are not executed correctly.

Any clues?

Thank you.

Marco

4 Replies

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

    Hi Marco,

    > After that I've made modifications in Quartus

    ...

    > Now I'm no more able to execute count_binary.

    ...

    > Any clues?

    What 'modifications' did you make?

    Regards,

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

    I've added a number of counters, gates, f/f, 74597, and so on.

    In the sopc builder, I added various gpio, and a user interface logic to a dual port ram.

    I even tried to slow down the cpu clock with no success.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Are you able to build and execute the example design (without modifications)?

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

    yes I can!

    I've just solved the problem.

    I can run the modified version by slowing the clock once again. Now I'm involved in locating the problem.

    Cheers,

    Marco