Skip to content

rafaelauler/mips

 
 

Repository files navigation

MIPS ArchC functional model

This is the MIPS ArchC functional model.

License

  • ArchC models are provided under the ArchC license. See Copying file for details on this license.

acsim

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

Binary utilities

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.

Change history

See History

Contributing

See Contributing

More

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

About

MIPS 32 processor ArchC model

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 100.0%