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

interfacing nios with addition modules

Altera_Forum
Honored Contributor II
1,977 Views

Hello, 

This is a newbie question. Sorry if this is not the right place to post this. 

 

I am still using the nios 1 core, waiting on the nios 2. 

I have an additional module that the nios interfaces with currently and everything seems to work fine. Now what i need is to add an additional control signal to that module so that I can turn on and off certain features from within the nios environment, for example c code with GUI interface to a pc. 

I am also the cyclone dev kit from altera. So far it doesn&#39;t seem like I easily hook up a signal from my extra module directly to the nios without using up one of the proto pins... i must be missing something here. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/unsure.gif  

 

thanx for any help on this, 

-Quan
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,221 Views

I see the light... I should have read through altera&#39;s literature site. It had a document on PIO and that looks like what I was after. 

 

 

-Quan
0 Kudos
Altera_Forum
Honored Contributor II
1,221 Views

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

I have an additional module.....[/b] 

--- Quote End ---  

 

 

Do you interface it with Nios using Avalon BUS?
0 Kudos
Altera_Forum
Honored Contributor II
1,221 Views

Yes, i am interfacing it with the avalon bus and it seems to be working okay as expected. 

This seems almost too easy.  

 

-Quan
0 Kudos
Reply