A cycle accurate simulator for the Apricos CPU architectore