Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Machine mode CSRs not accessible with Ibex host core when using Vicuna's verilated model #118

Open
AnjaliVerma1314 opened this issue Nov 28, 2023 · 2 comments

Comments

@AnjaliVerma1314
Copy link

Unable to get the cycle count by reading a machine mode CSR (mcycle) on verilated model of Vicuna with Ibex host core. The machine mode CSRs seem to be not accessible with Ibex host core on Vicuna's verilator.

@aaqdas
Copy link

aaqdas commented Jan 12, 2024

I am facing a similar problem. It declares it illegal instruction.

Update: I just remembered this issue, from the time I ran some simulations earlier. In the folder /sim, when you run the command make verilator, you need to run make verilator CORE=cv32e40x which uses the core cv32e40x instead of ibex. This resolves the problem

@AlfredoRodrigues4
Copy link

I'm facing the same problem, when I use Ibex I can't access the CSRs. Can any of you remember how you solved this? With cv32e40x it works, but I need Ibex specifically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants