Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHow to connect the blocks between the core of Sopc and my circuit
In my circuit, there are two blocks, one is core of sopc, another one is pwm circuit, How to connect two blocks, and I don't want to include my circuit in the Sopc core.
Does anyone can help me?, thank you very much.5 Replies
- Altera_Forum
Honored Contributor
Maybe you can use PIO. You have to include PIO´s in SOPC Builder and then you can use them outside your CPU.
- Altera_Forum
Honored Contributor
--- Quote Start --- Maybe you can use PIO. You have to include PIO´s in SOPC Builder and then you can use them outside your CPU. --- Quote End --- Sorry, i think i know what you say. But, I think maybe problem not clearly. I already used the PIO, but it's not working. when I load my circuit into the FPGA. i didn't see the result that I want. - Altera_Forum
Honored Contributor
--- Quote Start --- I already used the PIO, but it's not working. when I load my circuit into the FPGA. i didn't see the result that I want. --- Quote End --- It also depends from what type of interface your pwm circuit has. If it has a plain n-bit input port which directly set the pwm duty cycle, then it should work connected to pio. If it has a specific bus interface (addr,data,wr,rd,ce,...) then your sopc must provide the same interface in order to set the required registers Cris - Altera_Forum
Honored Contributor
then post more about your project to get help, Using PIOs are the fastest way to get your PWM to interface with SOPC
- Altera_Forum
Honored Contributor
--- Quote Start --- then post more about your project to get help, Using PIOs are the fastest way to get your PWM to interface with SOPC --- Quote End --- thanks for your suggest. I use the method that you said. It's workable.