Skip to content

hoangt/tool_axe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • LLVM
  • 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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 81.2%
  • C 8.5%
  • XC 5.1%
  • Assembly 2.5%
  • CMake 1.7%
  • Perl 0.6%
  • Python 0.4%