Showing posts with label CDC. Show all posts
Showing posts with label CDC. Show all posts

Wednesday, October 14, 2020

Interview Question 47: Multi Clock Sync Pulse

 Design a module as shown below. The input sync_A gets asserted for some (say 3) clocks in the clk_A domain. The output sync_B should also assert for exactly the same number of clocks but in the clk_B domain.


The timing diagram is shown below.


Followup questions:
- Is fA/fB ratio fixed or it is unknown?
  .The answer to this question will decide which CDC approach you should take.
- Is the number of clocks fixed or variable or it can vary on the fly or is it configurable?
  . The answer to this question will decide which approach you take?





Monday, January 6, 2020

Interview Question 38: What are the issues with this logic?

This is one of the common questions asked to check your experience or awareness of CDC. (Clock Domain Crossing) Can you find at least two issues?