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

Use transceiver clocks in FINC/FDEC tests #538

Draft
wants to merge 13 commits into
base: staging
Choose a base branch
from

Conversation

hiddemoll
Copy link
Contributor

@hiddemoll hiddemoll commented Jun 5, 2024

The HITL test fincFdecTests is no longer run when a branch is pushed, so I've added a debug.json to explicitly test it. The result of that test can be seen here.

The main goal of this PR is to enable us to run the FINC/FDEC tests on all FPGAs in the demo rig. To do this, we need access to the external clock, which is connected to SMA_MGT_REFCLK_C and which can only be used by the transceivers. We therefore modified gthCore to allow access to this clock before it goes through the internal CPLL (see this diagram in the GTH Transceiver user guide.

To select TXPLLREFCLK_DIV1 as TXOUTCLK, we need a different ratio between the reference clock and 125 MHz TX clock. We therefore changed the external clock from 200 MHz to 250 MHz for all bittide instances. Note that this does not interfere with internals of any bittide instance, it only changes the reference clock of the transceivers.

@hiddemoll hiddemoll force-pushed the transceiver-clock-fincfdectest branch 26 times, most recently from f4be4a6 to 5554244 Compare June 12, 2024 14:20
@hiddemoll hiddemoll force-pushed the transceiver-clock-fincfdectest branch 4 times, most recently from 34b88b5 to ef096ef Compare June 17, 2024 12:32
@leonschoorl leonschoorl force-pushed the transceiver-clock-fincfdectest branch 2 times, most recently from 7c6eb0b to 6ebe6f7 Compare July 2, 2024 11:51
@hiddemoll hiddemoll force-pushed the transceiver-clock-fincfdectest branch 5 times, most recently from 6aeb6ce to 3d0b35b Compare July 3, 2024 07:30
@hiddemoll hiddemoll marked this pull request as ready for review July 3, 2024 09:28
@hiddemoll hiddemoll force-pushed the transceiver-clock-fincfdectest branch from e865432 to d842378 Compare August 9, 2024 11:57
@hiddemoll hiddemoll marked this pull request as draft August 13, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants