Skip to content

ArchC/powerpc

Repository files navigation

PowerPC ArchC functional model

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

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