An XCore Emulator