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

IP Emulator should set CSR for performance evaulation. #521

Open
sequencer opened this issue Apr 14, 2024 · 0 comments
Open

IP Emulator should set CSR for performance evaulation. #521

sequencer opened this issue Apr 14, 2024 · 0 comments
Assignees

Comments

@sequencer
Copy link
Member

IP Emulator is designed for simulate vector instructions w/o a scalar core, thus we use spike as scalar core. For now, each vector commits only used for cosim, and won't change the state of scalar core.

If we want to do some performance benchmark with ip emulator, we should set mcycle with simulation cycles.

This is not grantee to be accurate for program performance, but should be fine for an intensive vectorized workload.

In the future, we should also think about adding Zihpm support for T1, here is the roadmap:

  • Start to perf with chisel Probe API, it will be lowered to Verilog XMR, without adding hardware overhead to RTL.
  • Sort out all important events we need to care about, schedule hpm counter for these events.
  • Change these Probe to a real hardware IO, and maintain performance counter on the Sequencer.
  • Expose these CSR(maybe hardwired) to scalar CSR Module(we also need to refactor RocketCSR).
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

2 participants