Skip to content

ArchC/arm

Repository files navigation

ARMv5e ArchC functional model

This is the ARMv5e 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 armv5e.ac -abi                (create the simulator)
make                                (compile)
armv5e.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> armv5e.ac

This will generate the tools source files using the architecture name (if omitted, armv5e 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