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

CC_PLL Verilog simulation model bug #14

Closed
tarik-ibrahimovic opened this issue Jun 10, 2024 · 4 comments
Closed

CC_PLL Verilog simulation model bug #14

tarik-ibrahimovic opened this issue Jun 10, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@tarik-ibrahimovic
Copy link
Collaborator

The provided simulation Verilog model of CC_PLL isn't a correct representation of the true CC_PLL's behavior. Whatever parameters put in when instantiating CC_PLL get lost and the output clock frequency is just half the input.

This can be especially confusing when running simulation of the examples built in with the tools.

@chili-chips-ba
Copy link
Owner

GateMate-PLL-Sim-Model-Bug

@chili-chips-ba chili-chips-ba added the bug Something isn't working label Jul 10, 2024
@chili-chips-ba
Copy link
Owner

Hi @pu-cc , given recent finding related to Issue#17: ... there is indeed a misconfiguration of a CPE that leads to incorrect inversion..., could that also be the root cause of this PLL simulation problem?

@pu-cc
Copy link
Collaborator

pu-cc commented Jul 14, 2024

No, the CPE configuration and the simulation models are completely unrelated to each other.

The PLL model is used exclusively for the simulation and has so far been kept so simple on purpose; of course with the disadvantage that no real frequencies are generated. We have now revised the model for the upcoming update. I will let you know here so that we can close #14. Incidentally, this is not a bug, but a functional enhancement.

@pu-cc pu-cc added enhancement New feature or request and removed bug Something isn't working labels Jul 14, 2024
@pu-cc
Copy link
Collaborator

pu-cc commented Jul 19, 2024

We have now improved the simulation model of CC_PLL in bin/p_r/cpelib.v.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants