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

userclk: separate device independent from Agilex 7 configuration #3159

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

michael-adler
Copy link
Member

The user clock frequency configuration protocol varies across devices. Move the Agilex 7 and Stratix 10 configuration sequences out of fpga_user_clk.c and into a new protocol-specific file.

There is almost no new logic here -- just cleanup before adding a new module to manage the Agilex 5 sequence. The only significant functional change in the PR is addition of a more rigorous check that the FPGA family is supported by the configuration tables.

Checked on Agilex 7 HW.

@michael-adler michael-adler self-assigned this Feb 6, 2025
@pcolberg
Copy link
Contributor

pcolberg commented Feb 6, 2025

How does this PR differ from #3158? Would it be possible to split this up into two commits, one commit with the extraction of existing code into a new file only, and a second commit that adds the more rigorous check?

@michael-adler michael-adler force-pushed the mcadler/uclk_cleanup branch 4 times, most recently from 14bc09c to 6363b01 Compare February 6, 2025 22:23
@coveralls
Copy link

coveralls commented Feb 6, 2025

Pull Request Test Coverage Report for Build 13189270128

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 64.104%

Totals Coverage Status
Change from base Build 13187496793: 0.0%
Covered Lines: 15824
Relevant Lines: 24685

💛 - Coveralls

The user clock frequency configuration protocol varies across devices.
Move the Agilex 7 and Stratix 10 configuration sequences out of
fpga_user_clk.c and into a new protocol-specific file.

Signed-off-by: Michael Adler <michael.adler@altera.com>
@michael-adler michael-adler marked this pull request as ready for review February 6, 2025 22:40
@michael-adler michael-adler requested review from a team as code owners February 6, 2025 22:40
@michael-adler michael-adler merged commit f85a137 into OFS:master Feb 7, 2025
21 checks passed
@michael-adler michael-adler deleted the mcadler/uclk_cleanup branch February 7, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants