This is the MIPS ArchC functional model.
- ArchC models are provided under the ArchC license. See Copying file for details on this license.
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 mips.ac -abi (create the simulator)
make (compile)
mips.x --load=<file-path> [args] (run an application)
The [args] are optional arguments for the application.
There are two formats recognized for application :
- ELF binary matching ArchC specifications
- hexadecimal text file for ArchC
To generate binary utilities use:
acbingen.sh -i<abs-install-path> -a<arch-name> mips.ac
This will generate the tools source files using the architecture name (if omitted, mips1 is used), copy them to the binutils source tree, build and install them into the directory (which -must- be an absolute path). Use "acbingen.sh -h" to get information about the command-line options available.
See History
See Contributing
Remember that ArchC models and SystemC library must be compiled with the same GCC version, otherwise you will get compilation problems.
Several documents which further information can be found in the 'doc' subdirectory.
You can find language overview, models, and documentation at http://www.archc.org
Thanks for the interest. We hope you enjoy using ArchC!
The ArchC Team Computer Systems Laboratory (LSC) IC-UNICAMP http://www.lsc.ic.unicamp.br