GithubHelp home page GithubHelp logo

Comments (8)

davidchisnall avatar davidchisnall commented on July 21, 2024 2

Kunyan confirms that this is an Ibex bug. The refactoring of the PermitAccessSystemRegisters logic accidentally missed mcycleh.

from cheriot-rtos.

davidchisnall avatar davidchisnall commented on July 21, 2024 1

You shouldn't need it, but sometimes rm -rf .xmake build is necessary.

from cheriot-rtos.

davidchisnall avatar davidchisnall commented on July 21, 2024 1

And the exercise needs the simulator because the sail model doesn't have a uart - is that right ?

The Sail UART is output only, yes.

from cheriot-rtos.

davidchisnall avatar davidchisnall commented on July 21, 2024

If the board is sail then they're not using the Ibex simulator, they're the instruction simulator generated from the Sail formal model.

from cheriot-rtos.

davidchisnall avatar davidchisnall commented on July 21, 2024

I suspect that the recent(ish) changes to the AccessSystemRegisters permissions in Ibex may have broken mcycleh access. The test suite uses mcycle but not mcycleh (it doesn't run long enough to overflow a 32-bit cycle counter. @kliuMsft, can you check?

from cheriot-rtos.

PhilDay-CT avatar PhilDay-CT commented on July 21, 2024

If the board is sail then they're not using the Ibex simulator, they're the instruction simulator generated from the Sail formal model.

Ah, Ok thanks. I tried changing one of the examples to the ibex simulator and then doing "xmake config --sdk=/cheriot-tools/; xmake clean; xmake; xmake run" - but that didn't fail which made me think this was the wrong track. Looks like I need to "rm -rf .xmake .cache" to really get back to a clean state ?

And the exercise needs the simulator because the sail model doesn't have a uart - is that right ?

(Sorry for the questions - still feeling my way around here some)

from cheriot-rtos.

davidchisnall avatar davidchisnall commented on July 21, 2024

The dev container is updated with the fix so this should work now.

from cheriot-rtos.

PhilDay-CT avatar PhilDay-CT commented on July 21, 2024

Yep - runs fine now, thanks

from cheriot-rtos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.