Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCreate IRQ pin
On my design i have 2 processor, and i need to make for every one 2 pin( 1 input and one output). And relate the output for CPU1 with input for CPU2, also the iput from the CPU 1 with output from CPU...
Altera_Forum
Honored Contributor
14 years agoIf you instantiate the system in a schematic, connect outputs to inputs with a wire. If you instantiate in HDL, write the assignement code for PIO port signals.
I was thinking now that probably you can make everything inside sopc system, using only two PIOs, bidirectional, 1 bit wide. Each PIO is written by one cpu (as output) and read (as input and/or IRQ) by the other cpu. You have to try; I've never done something like this, so I'm not sure it iwill work.