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

[DEFERRED] Clock Downsampler with != 50% duty cycle #550

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dpetrisko
Copy link
Contributor

This PR introduces bsg_counter_clock_downsample_unbalanced.v, which can be used for generating a clock with an arbitrary duty cycle. The specific use-case being targeted is generating a 1/3 (67% 33%) clock waveform

@dpetrisko dpetrisko added the enhancement New feature or request label Feb 17, 2022
@dpetrisko dpetrisko self-assigned this Feb 17, 2022
@dpetrisko dpetrisko changed the title Clock Downsampler with != 50% duty cycle [WIP] Clock Downsampler with != 50% duty cycle Feb 20, 2022
@taylor-bsg
Copy link
Contributor

I think would just have a register to hold the two init values and then switch between the values on the strobe?

@taylor-bsg
Copy link
Contributor

Then you would have one strobe unit.

@dpetrisko dpetrisko changed the title [WIP] Clock Downsampler with != 50% duty cycle [DEFERRED] Clock Downsampler with != 50% duty cycle May 22, 2022
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

Successfully merging this pull request may close these issues.

2 participants