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

Paddles: Delay mismatch between PDET2 and pot_cnt_n? #3

Open
daglem opened this issue Jan 6, 2023 · 0 comments
Open

Paddles: Delay mismatch between PDET2 and pot_cnt_n? #3

daglem opened this issue Jan 6, 2023 · 0 comments
Assignees

Comments

@daglem
Copy link

daglem commented Jan 6, 2023

If PDET2 is delayed by one cycle, and pot_cnt_n are not, I cannot see how the paddle circuit can work.

  • If the POT register is loaded with the counter value one cycle after detection of FF, the counter will have wrapped around to 100, and 00 will be loaded into the register instead of the correct FF.
  • The RS flip flop in the schematic below will both be set and reset on the same cycle (set one cycle after detection of FF, and reset on the same cycle since the counter has wrapped around to 100, i.e. bit 8 is set).

paddle_control

Are by any chance all pot_cnt_n also delayed by one cycle? Or is there something I didn't understand correctly?

@drfiemost drfiemost self-assigned this Jan 15, 2023
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

2 participants