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++

Custom peripheral

Altera_Forum
Honored Contributor II
1,383 Views

Hello, 

 

I would like to create my own NIOS II peripheral. It is a kind of UART with registers such as Tx, Rx, Status and Control. Then this peripheral should transmit the Tx register or inform the NIOS II that Rx can be read. This peripheral would have an IRQ too. 

 

The first thing that I want to do is to link this custom peripheral with the NIOS II core. I need an hardware interface (perhaps the Avalon interface ? or another one if it is easier) to access the peripheral registers and a software interface to write or read these registers. 

 

Where can I find information on how to link this peripheral with the NIOS II (Hardware interface and software interface) ? 

 

I think I need something which explains how to see my peripheral in SOPC Builder too if this is possible. 

 

Thank you for your answers, 

 

Jean LEE
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
428 Views

You can start it from "PWM Eample" in quartus literature (http://www.altera.com/literature/lit-qts.jsp) (Volume 4: SOPC Builder --> Chapter 7. Developing SOPC Builder Components )

0 Kudos
Reply