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

Multiple execution threads in the same time domain #24

Open
felix-boeseler opened this issue Sep 1, 2021 · 0 comments
Open

Multiple execution threads in the same time domain #24

felix-boeseler opened this issue Sep 1, 2021 · 0 comments

Comments

@felix-boeseler
Copy link

Hello,

Does marss-riscv support multiple execution threads in the same time domain as SystemC. For instance, can I add a custom peripheral counter that increments every 1ms and then let the CPU and the timer peripheral run in “parallel”. If my CPU would run approximately 1 mips, I would expect then that the counter peripheral increments approximately every 1000 instructions executed by the CPU since every instruction takes 1us.

In my understanding https://marss-riscv-docs.readthedocs.io/en/latest/sections/memory-hierarchy.html describes that a write requests to the memory controller is executed in this fashion. The CPU continues the execution while the memory controller waits for the delay. Is this also possible for own custom peripherals?

Many regards and many thanks in advance
Felix Böseler

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

1 participant