Results 1 to 2 of 2

Thread: Nios.h - where is it?

  1. #1
    Join Date
    Mar 2007
    Posts
    1
    Rep Power
    1

    Default

    I'm trying to test a RS232 system, and the examples I've seen all tell me to include nios.h. Neither myself or my computer can find this file though.

    I'm using a DE2 board and Quartus II.

    Can anyone shed some light on this?

    Thanks

  2. #2
    Join Date
    Aug 2004
    Location
    Texas Y'all
    Posts
    2,190
    Rep Power
    1

    Default

    That's a file from Nios classic days. It contains information about your system such as the address mapping for each peripheral connected to the Nios processor core.

    The file you want to look for (Nios II) is now called "system.h" which lives in the system library in the following location /<Debug or Release>/system_description. It provides the same type of information that nios.h contained.

    To become familiar with the new software flow I recommend taking the hardware design that you are using for the DE2 board, open then IDE and add a simple software project like "hello world", compile it then take a look at the resulting folder structure. I also recommend taking a look at this document: http://www.altera.com/literature/an/an350.pdf

    That&#39;ll help explain what has changed between Nios classic and Nios II in terms of software development.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •