Nios Community Wiki > ExampleDesigns > ReadOnlyZipFileSystem

ReadOnlyZipFileSystem

Read-Only Zip File System

Last Updated:

May 19, 2008. Nios II EDS v8.0

Desciption:

This simple example demonstrates the use of Altera's read-only zip filing system. The example includes a zip file (.zip file) containing three text files. The filing system is first programmed into the hardware design's common flash interface (CFI) compliant flash using the Nios II Flash programmer. When you run the application it opens two of the text files in the filing system, then prints them to STDOUT.

Contents:

  • Source code for example application
  • readme.txt
  • Create-this scripts for app and bsp

Instructions:

  • NOTE: If you are using Nios II EDS v7.2 or earlier then this design example is already contained in the example folder of your installation.
  • The following steps are for Nios II EDS v8.0 and later.
    1. Download the zip file.
    2. Copy the hardware example design for your board from the Nios II EDS installation (c:\altera\<version_number>\nios2eds\examples\<verilog or vhdl>) to your working directory.
    3. Extract the contents of the zip file to the software application directory for the hardware project in your working directory. For example if you are using the standard verilog hardware design in the Nios II Development Kit, Cylcone II Edition, extract the zip file to \<work_directory>\niosII_cycloneII_2c35\standard\software_examples\app.
    4. Create a new folder called "hal_zipfs" in the bsp directory under the hardware example.
    5. Cut and paste the create-this-bsp file from the /app dir to the hal_zipfs directory.
    6. Refer to the introduction of the Nios II  Software Build Tools chapter for instructions on building and running this example: http://www.altera.com/literature/hb/nios2/n2sw_nii52014.pdf

 Hardware Requirements:

This example requires the following devices to be present in the target hardware design:

  • STDOUT component such as a UART or JTAG UART
  • CFI compliant flash component

You can run this software design example on the following Nios II hardware design examples:
Nios II Development Board, Stratix® II Edition:

  • Standard
  • Full Featured

Nios II Development Board, Stratix Professional Edition:

  • Standard
  • Full Featured

Nios II Development Board, Stratix Edition:

  • Standard
  • Full Featured

Nios II Development Board, Cyclone® II Edition:

  • Standard
  • Full Featured

Nios II Development Board, Cyclone Edition:

  • Standard
  • Full Featured

  

Tag page

Files 1

FileSizeDateAttached by 
 zip_filesystem.zip
No description
6.92 kB05:05, 8 Dec 2008AdminActions
Viewing 2 of 2 comments: view all
Words can't do justice to what 1 designer and 1 developer have done with this game. It is simply amazing and even though it is our own game, none of us can stop playing. That was the point though. We built something we loved. We hope you will too! psychology degree | undergraduate diploma | online computer science degree
Posted 15:10, 11 Mar 2010
For those wanting to get the word out. Here are some links to blog, twitter, AIM, tell someone on a subway, etc. We will have flyers too that you can print and post on bathroom walls, telephone polls, and anywhere in eyes view. criminal justice degree | early childhood education degree
Posted 15:10, 11 Mar 2010
Viewing 2 of 2 comments: view all
You must login to post a comment.
SourceForge.net