Skip to content

sim: Allow access to partially initialized words#29

Merged
micprog merged 1 commit into
pulp-platform:mainfrom
creinwar:cr/sim_mem_sub_word_access
Jun 16, 2026
Merged

sim: Allow access to partially initialized words#29
micprog merged 1 commit into
pulp-platform:mainfrom
creinwar:cr/sim_mem_sub_word_access

Conversation

@creinwar

@creinwar creinwar commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

The current obi_sim_mem module only checks the base byte of the current word to decide whether the word will be returned or all X. This makes data in partially initialized words inaccessible. The fix checks for the existence of each byte in a word, raising a single warning if one or more bytes are not found, and returns the existing bytes.

@creinwar creinwar requested a review from micprog September 5, 2025 15:46

@micprog micprog left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

@micprog micprog force-pushed the cr/sim_mem_sub_word_access branch from 4fcb01c to 324d815 Compare June 16, 2026 12:45
@micprog micprog merged commit 6c9df94 into pulp-platform:main Jun 16, 2026
3 checks passed
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