Skip to content

Add auto center feature to elastic buffers#1183

Open
martijnbastiaan wants to merge 1 commit intomainfrom
martijn/add-auto-center-eb
Open

Add auto center feature to elastic buffers#1183
martijnbastiaan wants to merge 1 commit intomainfrom
martijn/add-auto-center-eb

Conversation

@martijnbastiaan
Copy link
Contributor

What + why
In #1135 we employ a "simple" trick to allow ring buffers to be aligned and UGNs to remain valid while clock control is still stabilizing the system. We do all this in software, which critically relies on the software being "quick enough". This is not always the case, as seen in #1168. Although we've more or less fixed the issue by making EB control much faster (#1178), this commit adds the option to entirely offload this responsibility to hardware.

Dear reviewer
Do you want me to write direct tests for autoCenter too (instead of only Rust/integration tests)?

AI disclaimer
I used Claude to generate test cases after telling it what I wanted to test.


Closes #1179

TODO

  • Write (regression) test
  • Update documentation, including docs/
  • Link to existing issue

Copy link
Contributor

@hiddemoll hiddemoll left a comment

Choose a reason for hiding this comment

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

Nice work. I have 1 comment, but I'll approve it already

In #1135 we employ a "simple" trick to allow ring buffers to be aligned
and UGNs to remain valid while clock control is still stabilizing the
system. We do all this in software, which critically relies on the
software being "quick enough". This is not always the case, as seen in
 #1168. Although we've more or less fixed the issue by making EB control
much faster (#1178), this commit adds the option to entirely offload
this responsibility to hardware.

Closes #1179
@hiddemoll hiddemoll force-pushed the martijn/add-auto-center-eb branch from cc887cb to 3d1c614 Compare February 6, 2026 12:04
@hiddemoll hiddemoll enabled auto-merge (squash) February 6, 2026 12:04
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.

Add option to auto-center elastic buffers

2 participants