Skip to content

rafaelauler/mips

This branch is 3 commits behind ArchC/mips:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b18f240 · Oct 16, 2015

History

51 Commits
Oct 7, 2015
Oct 8, 2015
Apr 28, 2015
Jun 29, 2006
Oct 16, 2015
Oct 7, 2015
Oct 14, 2015
Feb 15, 2012
Aug 10, 2007
Oct 29, 2014
Oct 7, 2015
May 25, 2012
Oct 7, 2015
Oct 7, 2015
Oct 7, 2015
May 25, 2012
Oct 7, 2015
Aug 10, 2007

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%