Skip to content

ArchC/niosIIf

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages