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

Original NIOS Software Driver Development

Altera_Forum
Honored Contributor II
1,119 Views

Hi, I have a general question in regards of the software driver development for Nios. 

 

I have not been able to find any documentation on the Altera's website in regards of the software driver development for the Nios I processor. 

 

I understand in Nios II, you have the IOWR/IORD software driver macros that enables designers to access their custom peripherals instantiated through SOPC. 

 

Does the Nios I processor contain any kind of IOWR/IORD software macros to access "my_peripheral" or is there a totally different procedure that I have to follow? 

 

 

--------- 

 

In addition to this, is it possible that the original Nios Processsor be able to handle alt_u64 variables? 

 

Thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
361 Views

You'll find what you need by reading this (http://www.altera.com/literature/an/an350.pdf) document. I don't recall, exactly, but I believe the volatile qualifier also circumvented the cache with "classic" Nios. 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
361 Views

 

--- Quote Start ---  

originally posted by slacker@Jul 28 2006, 03:45 PM 

you'll find what you need by reading this (http://www.altera.com/literature/an/an350.pdf) document.  i don't recall, exactly, but i believe the volatile qualifier also circumvented the cache with "classic" nios. 

 

- slacker 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17235) 

--- quote end ---  

 

--- Quote End ---  

 

 

whoops,, thanks, I accidently overlooked that http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif
0 Kudos
Reply