Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17259 Discussions

Problem about multi processor

Altera_Forum
Honored Contributor II
1,642 Views

Hi: 

I have a problem about Multi processor in niosII,I use Quartus II Version 8.1,my connections in SOPC Builder is as follows: 

does anyone know what mistakes I made? 

Thank you
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
845 Views

What problem do you have?

0 Kudos
Altera_Forum
Honored Contributor II
845 Views

I used cpu_1 to operate led_green,but it the led_green does't seem to be controlled,instead,the led_red,which is connected to cpu_2,seems to be controlled by cpu_1,I don's know why.

0 Kudos
Altera_Forum
Honored Contributor II
845 Views

I don't see anything in your SOPC system that would explain this... Check that your two PIO are indeed connected to the correct LEDs, that the two CPUs are using different parts of the memory for their software, and that you are downloading the code to the correct CPU.

0 Kudos
Altera_Forum
Honored Contributor II
845 Views

for cpu_1: 

Reset Vector: Memory sdram_0 offset 0x0 

Exception Vector: Memory sdram_0 offset 0x20 

 

for cpu_2: 

Reset Vector: Memory sdram_0 offset 0x100000 

Exception Vector: Memory sdram_0 offset 0x100020 

 

in addtions,should the jtag_uart connect to cpu_1 or cpu_2? 

 

Thank you!
0 Kudos
Altera_Forum
Honored Contributor II
845 Views

It looks ok. 

You can only connect the jtag uart to one CPU AFAIK. You can choose anyone you like, but of course the other one will not be able to write anything to the console. 

If you have a serial interface, you could connect a UART to the second cpu, and that way have a console access on both CPUs.
0 Kudos
Reply