Support native 2 GS/s sampling on OPX1000 LF-FEM without interpolation#333
Open
Support native 2 GS/s sampling on OPX1000 LF-FEM without interpolation#333
Conversation
Co-authored-by: yomach <53370976+yomach@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update bakery tool to handle 2 GS/s without interpolation
Support native 2 GS/s on OPX1000 LF-FEM without interpolation
Feb 24, 2026
Co-authored-by: yomach <53370976+yomach@users.noreply.github.com>
Copilot
AI
changed the title
Support native 2 GS/s on OPX1000 LF-FEM without interpolation
Support native 2 GS/s sampling on OPX1000 LF-FEM without interpolation
Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OPX1000 LF-FEM ports configured at 2 GS/s were being unnecessarily interpolated down to 1 GS/s during baking. This fix skips interpolation when the baking
sampling_ratematches the hardware port's native rate.Changes
Core logic:
_get_port_sampling_rate(qe): Lookup hardware sampling rate from config (supports FEM 3-tuple and OPX+ 2-tuple ports)_needs_interpolation(qe): Returns true only whensampling_rate > 1e9AND port doesn't natively support that rate__exit__: Skip interpolation when_needs_interpolation(qe)is false_get_samples: Check_needs_interpolation(qe)before upsampling existing pulses_update_config: Writesampling_ratetag when!= 1e9AND interpolation was not performedBehavior matrix:
sampling_rate: 2e9Example:
Remember to:
Added tests for the feature or fixOriginal prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.