Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Execution problems

Altera_Forum
Honored Contributor II
1,524 Views

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
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
245 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
245 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
245 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
245 Views

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
0 Kudos
Reply