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

Summary: creating single boot ROM for multicore configs #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kabylkas
Copy link
Contributor

The motive for this PR is explained in #79.

This pull request introduces the implementation for the enhancement. When the checkpoint is saved, a single boot ROM is generated for N cores. The boot code is divided into N sections, where N represents the number of cores. Each core will generate its own recovery code and write it to its designated section. In addition to the recovery code, each core initializes with a preamble code that reads the hart_id and calculates the program counter (PC) based on the id.

Please let me know what you think.

The motive for this commit is explained in Issue 79 on the
Chips Alliance Dromajo GitHub page:
chipsalliance#79.

This pull request introduces the implementation for the enhancement.
When the checkpoint is saved, a single boot ROM is generated for N cores.
The boot code is divided into N sections, where N represents the number
of cores. Each core will generate its own recovery code and write it to
its designated section. In addition to the recovery code, each core
initializes with a preamble code that reads the hart_id and calculates
the program counter (PC) based on the id.
@et-tommythorn
Copy link
Collaborator

Sorry, it seems I missed a bunch of github notifications. Let me look at this.

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

Successfully merging this pull request may close these issues.

2 participants