Forum Discussion

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

How to use NIOS processor for a custom design

Hi,

I am trying to use the NIOS processor in my design.

- For this, I first opened the SOPC programmer and created a test design with just the Nios processor and an on chip memory (i called it test_1) and generated it.

- After exiting from the SOPC programmer, I opened a New .bdf and tried adding symbol. I chose my test_1 symbol but this just has "clock" and "reset" as its inputs.

- My question now is, is there a way to get the actual NIOS processor with all its inputs and outputs. If this is not possible, how do I connect another logic block to the NIOS processor? As an example, I want to connect a module called fft.v to the NIOS processor and do all the fft operations on that.

Any help would be great.

thanks a lot

2 Replies

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

    Hello!

    What happened is correct. The Sopc BUILDER is showing all the inputs and outputs. If you want more, try enabling reset_request and debug_request but I don't think you really want them.

    You may take a look to the manuals, in particular to the Embedded Peripherals user guides.

    http://www.altera.com/literature/ug/ug_embedded_ip.pdf

    There you'll find a plenty of input and output peripherals.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    To interact with NIOS with your own logic you need to add PIO (Parallel I/O) blocks in SOPC Builder.

    Peripherals -> Microcontroller peripherals -> PIO (Parallel I/O)