Nios II processor model
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
COPYING
README
defines_gdb
niosIIf-isa.ac
niosIIf-isa.cpp
niosIIf.ac
niosIIf_gdb_funcs.cpp
niosIIf_syscall.cpp

README

This is the Nios2 ArchC functional model.

This model has the system call emulation functions implemented,
so it is a good idea to turn on the ABI option.

To use acsim, the interpreted simulator:

    acsim niosIIf.ac -abi               (create the simulator)
    make -f Makefile.archc              (compile)
    niosIIf.x --load=<file-path> [args] (run an application)

To use accsim, the compiled simulator:

    accsim niosIIf.ac --load=<file-path> -abi  (create specialized simulator)
    make -f Makefile.archc                     (compile)
    niosIIf.x [args]                           (run the application)

The [args] are optional arguments for the application.

There are two formats recognized for application <file-path>:
- ELF binary matching ArchC specifications
- hexadecimal text file for ArchC


To use acasm, the assembler generator:

    asmgen.sh niosIIf.ac <assembler_name> (generate the assembler 
                                         source files) 
    proceed to build it using the GNU autotools (configure, make all-gas, 
                                                 make install-gas)


For more information visit http://www.archc.org


Version 0.7.0:

- Model passed selected Mediabench and Mibench applications