Design digital logic clocks with given frequencies

Click For Summary

Discussion Overview

The discussion revolves around designing a logic circuit that generates multiple clock frequencies (100MHz, 50MHz, 25MHz, and 12.5MHz) from a 100MHz symmetrical clock. Participants explore various approaches to achieve this design, including the use of flip-flops and considerations for glitch-free frequency switching.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants suggest using D-flip-flops to create the required clock outputs, with a proposed structure where each flip-flop divides the frequency of the previous output.
  • Others mention the importance of glitch-free switching between frequencies, indicating that transitions should occur at specific clock boundaries to avoid errors.
  • A participant raises the question of how to handle asynchronous input signals when selecting output frequencies, hinting at the need for synchronization techniques.
  • Some participants express uncertainty about the overall design and implementation details, indicating a lack of resources and class coverage on the topic.
  • There is mention of JK flip-flops and their toggle operation as a common method for frequency division, suggesting alternative approaches to the problem.

Areas of Agreement / Disagreement

Participants generally agree on the need for flip-flops in the design but have differing views on the specific implementation details and the necessity of glitch-free switching. The discussion remains unresolved regarding the best approach to achieve the desired clock outputs.

Contextual Notes

Participants note limitations in their understanding due to insufficient class instruction on the topic, and there are references to specific homework problems that may not be fully addressed in the discussion.

Who May Find This Useful

This discussion may be useful for students studying digital logic design, particularly those working on homework related to clock generation and frequency division.

satchmo05
Messages
108
Reaction score
0

Homework Statement


Assume you have a symmetrical clock at 100MHz. Design a logic circuit with four outputs of clocks at 100MHz, 50MHz, 25MHz, and 12.5MHz. The logic circuit should have 2 inputs to select output clock rate.


Homework Equations


N/A


The Attempt at a Solution


For starters, my teacher does a poor job lecturing and he assigned this problem on this week's assignment, and we won't have another class period before we turn this HW in. We hardly went over clocks, in this sense. Is there any words of wisdom from anyone to lead me in the right direction? Any links that may be helpful for me to solve this problem? Thank you to all who may offer assistance!
 
Physics news on Phys.org
Hey, if you're talking about Minden, then I am in your class. I agree that there aren't many resources to try and solve this problem. I'm assuming we have to use D-Flip Flops--and probably four of them, the first outputs to 100MHz, and another line runs to a second which outputs at 50MHz, etc. The trouble is the overall design of the circuit.
 
I totally understand where you're coming from, haha. A lot of this trouble came from the design, and which type of clock to use. I remember going over stuff like this in 140, but that was what, nearly 2 years ago now. Thanks for the help. You need any help on the assignment? I have the rest done I think.
 
Yeah. I assume number 4 is in the manual, fortunately. Number 6 should be similar. So, I suppose help on 5 and 7 (despite the incorrect numbering in the hw) would be much appreciated!
 
Alright, no worries. Don't take my word for it, because I really do not know if I have the right implementation. What I have done definitely makes sense to me, but you never know... He kinda went over #5 in class - he mentioned that there are 64k counts in the ECT block diagram on the website (can also be found there). So basically, what I received for my answer was: given interval * # of ECT counts = delta(T), which is what you're looking for. For number 7, wiki "Nyquist-Shannon Sampling Theorem." I say this because we probably will not go over it in class and it may be helpful depending on your major.

Out of curiousity, what were your steps for problems #2 (resistor problem) and problem #6 (baud rate problem). Let me know when you can. Thanks!
 
Oh, what was your reasoning for choosing D-flip-flops? And how would you design this "outputting to 100MHz, etc.?"
 
Have you studied JK flip-flops and their 'toggle' operation? That is a very common way of implementing a frequency divider.
 
satchmo05 said:

Homework Statement


Assume you have a symmetrical clock at 100MHz. Design a logic circuit with four outputs of clocks at 100MHz, 50MHz, 25MHz, and 12.5MHz. The logic circuit should have 2 inputs to select output clock rate.


Homework Equations


N/A


The Attempt at a Solution


For starters, my teacher does a poor job lecturing and he assigned this problem on this week's assignment, and we won't have another class period before we turn this HW in. We hardly went over clocks, in this sense. Is there any words of wisdom from anyone to lead me in the right direction? Any links that may be helpful for me to solve this problem? Thank you to all who may offer assistance!

BTW, I'm pretty sure that to get full credit, you will need to ensure glitch-free switching between the output frequencies. That complicates the design somewhat, but is critical in the real world. So when you switch from 100MHz to 25MHz, for example, you only do it on an even 25MHz clock boundary...
 
BTW, to provide this glitch-free switching, you will also need to do something with the input signals that select the output frequency. Quiz question -- when you have an asynchronous signal coming into a synchronous clocked domain, what do you have to do with that signal? How do you do it? Why do you have to do it?
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 7 ·
Replies
7
Views
8K
Replies
9
Views
8K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
Replies
2
Views
2K
Replies
1
Views
3K