Skip to content

Conversation

@ncough
Copy link
Collaborator

@ncough ncough commented Mar 19, 2024

We replace existing memory primitives, Mem.read and Mem.set, with new primitives Memory.read and Memory.set. These new primitives decouple the generated ASL from the architecture specification, allowing us to configure the memory model precision via tests/override.asl. This is motivated by #49, which we resolve by inlining the existing (overridden) primitives to capture the semantics of 128-bit operations.

The new primitives are identical to the existing, with the only difference being a change in the function name. Consequently, this will require a minor modification to any downstream projects.

- Add Memory.[set,read] to represent primitive memory operations
- Override Mem.[set,read] to include desired atomicity behaviour & call new memory prims
- Begin moving arch specific details into a centralised config
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.

1 participant