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 ability to use the clock net for PLL signals #139

Merged
merged 2 commits into from
Dec 17, 2022

Conversation

yrabbit
Copy link
Collaborator

@yrabbit yrabbit commented Dec 13, 2022

The nextpnr can now use the clock network to deliver PLL outputs if it sees fit.

On the apicula chip base side, all four outputs can be connected to the clock network, but the nextpnr currently has a limit of 3 networks, if I'm not mistaken. This is not being touched for the time being.

In the process of experimentation, the functions of the many internal wires of the large central clock MUX have been discovered and these are reflected in the names.

An example of using the PLL to form a picture on a 4.3" LCD screen is added.

! This commit uses the existing clock network processing logic and does not require any changes to the nextpnr, i.e. no new information about the big MUX device will be applied.

Signed-off-by: YRabbit rabbit@yrabbit.cyou

The nextpnr can now use the clock network to deliver PLL outputs if it sees fit.

On the apicula chip base side, all four outputs can be connected to the
clock network, but the nextpnr currently has a limit of 3 networks, if
I'm not mistaken. This is not being touched for the time being.

In the process of experimentation, the functions of the many internal
wires of the large central clock MUX have been discovered and these are
reflected in the names.

An example of using the PLL to form a picture on a 4.3" LCD screen is added.

! This commit uses the existing clock network processing logic and does
not require any changes to the nextpnr, i.e. no new information about
the big MUX device will be applied.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
@pepijndevos
Copy link
Member

Amazing! Looks good and confirmed it works on my end.

@pepijndevos pepijndevos merged commit 5646882 into YosysHQ:master Dec 17, 2022
@yrabbit yrabbit deleted the pll-clock branch April 18, 2023 22:37
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