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

Add dynamic clock control #260

Merged
merged 5 commits into from
Aug 12, 2024
Merged

Add dynamic clock control #260

merged 5 commits into from
Aug 12, 2024

Conversation

yrabbit
Copy link
Collaborator

@yrabbit yrabbit commented Jul 14, 2024

DQCE and DCS primitives are added - disabling the clock in a quadrant and dynamically selecting the clock source accordingly.

With this commit we are finally able to use clock lines 6 and 7 :)

Added examples for Tangnano1k, Tangnano4k, Tangnano9k, Primer20k, Tangnano20k boards.

From the internals: in addition to the well-known fuse tables SHORTVAL and LONGVAL, functions have been added for working with another table - LONGFUSE. It differs in that it describes the fuses of primitives with only one parameter, in contrast to two parameters for SHORTVAL and 16 parameters for LONGVAL.

DQCE and DCS primitives are added - disabling the clock in a quadrant
and dynamically selecting the clock source accordingly.

With this commit we are finally able to use clock lines 6 and 7 :)

Added examples for Tangnano1k, Tangnano4k, Tangnano9k, Primer20k,
Tangnano20k boards.

From the internals: in addition to the well-known fuse tables SHORTVAL
and LONGVAL, functions have been added for working with another table -
LONGFUSE. It differs in that it describes the fuses of primitives with
only one parameter, in contrast to two parameters for SHORTVAL and 16
parameters for LONGVAL.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
@yrabbit
Copy link
Collaborator Author

yrabbit commented Jul 14, 2024

Until the PR goes through in nextpnr, there will be errors, so we'll wait.

@yrabbit yrabbit marked this pull request as ready for review August 3, 2024 23:08
@yrabbit
Copy link
Collaborator Author

yrabbit commented Aug 4, 2024

Well, for some time only one version of the examples will be green - until the release of yosys, since there are our changes in main.

@pepijndevos
Copy link
Member

well we're in luck there was a release 3 days ago

@yrabbit
Copy link
Collaborator Author

yrabbit commented Aug 9, 2024

Great! Now we have 2 green pieces again :)

@yrabbit yrabbit merged commit db76863 into YosysHQ:master Aug 12, 2024
12 of 14 checks passed
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.

2 participants