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

Test harness implicitly assumes expected memory layout #294

Closed
danmatichuk opened this issue Jun 2, 2022 · 0 comments
Closed

Test harness implicitly assumes expected memory layout #294

danmatichuk opened this issue Jun 2, 2022 · 0 comments
Labels
stale Review - close as 'wontfix' or integrate into other ticket tech debt

Comments

@danmatichuk
Copy link
Collaborator

The test binaries are all compiled with a linker script that places "observable" memory in an expected section. The location of this section is hard-coded into the test module for each architecture. The size of the section is assumed to be 4k (which essentially assumes that the section is placed after any non-observable memory).

Ideally this information could be read from the ELF file rather than being hard-coded (i.e. the testbench only relies on the existence of a specially-named observable memory section).

@thebendavis thebendavis added the stale Review - close as 'wontfix' or integrate into other ticket label May 31, 2024
@thebendavis thebendavis closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Review - close as 'wontfix' or integrate into other ticket tech debt
Projects
None yet
Development

No branches or pull requests

2 participants