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

Current CDC block is inefficient for connecting clock domains using synchronous clocks with different frequencies #54

Open
wzab opened this issue Jan 27, 2021 · 0 comments

Comments

@wzab
Copy link
Owner

wzab commented Jan 27, 2021

Current CDC block https://github.com/wzab/agwb/blob/9070a2d2f3c2fafb12ff9276e5b36311eea217b9/hdl/wb_cdc/wb_cdc.vhd is optimized for transfering single accesses between domains driven by asynchronous clocks.
Often it is necessary to transfer accesses between domains where the clocks are synchronous, and the first one has a frequency N times higher then the second one: f_CLK1 = N * f_CLK2 .
In such a case the domain crossing circuit may be significantly simpler. It is necessary to design the CDC for both possible cases:

  • f_CLKmaster = N * f_CLKslave
  • f_CLKslave = N * f_CLKmaster
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

No branches or pull requests

1 participant