jameshanlon / tool_axe

An XCore Emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AXE (An XCore Emulator)

Stable release

Unreleased

Status

Experimental

Maintainer

https://github.com/rlsosborne

Description

AXE is a fast open source simulator of the XMOS XS1 Architecture.

AXE is designed for fast simulation of XCore programs. AXE doesn't attempt to be cycle accurate. Instruction execution timing is approximate. AXE is experimental and likely to contain bugs.

Known Issues

  • No simulation of the boot ROM.
  • No simulation of debug.
  • No support for configurable delays on ports / clocks.
  • Minimal support for reading and writing of pswitch / sswitch registers.
  • There are a few other miscellaneous instructions that are unimplemented.

Dependencies

  • CMake
  • libelf
  • libxml2
  • python (for running tests)

Building

Make a directory for the build and in that directory run:

cmake -DCMAKE_BUILD_TYPE=Release <path-to-src>
make

For a debug build use -DCMAKE_BUILD_TYPE=Debug. On Windows use nmake instead of make.

Running tests

The "check" target runs the testsuite. An install of the XMOS tools is required. Run the SetupEnv script provided with the XMOS tools to add xcc to the path before running the tests.

About

An XCore Emulator

License:Other


Languages

Language:C++ 59.6%Language:Python 18.7%Language:C 13.5%Language:XC 4.9%Language:Assembly 2.4%Language:Perl 0.6%Language:Objective-C 0.3%