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

Support boot in hostlink without starting the cores. #111

Merged
merged 3 commits into from
Aug 31, 2021

Conversation

mvousden
Copy link
Contributor

Needed to support efficient loading of cores (without reading the same file multiple times), in order to support hardware idle detection by the Orchestrator (see also POETSII/Orchestrator#242).

Comment on lines 136 to 137
void boot(const char* codeFilename, const char* dataFilename);
void boot(const char* codeFilename, const char* dataFilename,
bool start=true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pure pedantry, but could this be nicer by adding loadAll(), to load a instr binary onto everything, and rewriting boot to boot(...) { loadAll(...); start() }?

Using a method called boot as a broadcast write feels confusing! Otherwise LGTM.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite right, addressed in e11a4d9.

@mn416
Copy link
Collaborator

mn416 commented Aug 27, 2021

Thanks both. @mvousden I think you wrote start() instead of startAll().

@mn416 mn416 merged commit b4dfa34 into master Aug 31, 2021
@mn416 mn416 deleted the boot-without-start branch August 31, 2021 08:07
coralmw pushed a commit that referenced this pull request Apr 26, 2022
Support boot in hostlink without starting the cores.
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.

3 participants