Up Counter Question - Getting 10MHz Instead of 20MHz

  • Thread starter Thread starter amninder15
  • Start date Start date
  • Tags Tags
    Counter
Click For Summary

Discussion Overview

The discussion revolves around a midterm question related to the frequency output of a counter, specifically addressing discrepancies in calculated frequencies. Participants explore the relationship between state diagrams and frequency calculations, focusing on a counter that is expected to yield a frequency of 20 MHz, while one participant initially calculates 10 MHz.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant states that their calculations yield a frequency of 10 MHz based on the assumption of 6 different states in the counter.
  • Another participant points out that the frequency should be calculated based on the signal z, which has a repeating pattern of 110, leading to a frequency of 20 MHz.
  • There is a suggestion to clarify how the number '3' was derived in relation to the periods of signal z within the sequence of clock cycles.
  • Participants agree that the state diagram and sequence presented are correct, but there is a need for further detail in the calculations.

Areas of Agreement / Disagreement

Participants express differing views on the correct frequency calculation, with one asserting 10 MHz and others supporting 20 MHz. The discussion remains unresolved as participants explore the reasoning behind their calculations.

Contextual Notes

There are unresolved details regarding the assumptions made in calculating the frequency of signal z and how many clock cycles correspond to one period of z. The relationship between the state diagram and the frequency output is also a point of contention.

amninder15
Messages
19
Reaction score
0
Hi

I got this question on midterm. the correct answer is 20 MHz.

But I am getting 10 MHz. I attached a text file which shows all the work I done.

Can someone please explain this question and tell me where I am doing it wrong.

Thanks
 

Attachments

  • Capture.PNG
    Capture.PNG
    23 KB · Views: 512
  • New Text Document.txt
    New Text Document.txt
    588 bytes · Views: 342
Physics news on Phys.org
amninder15 said:
Hi

I got this question on midterm. the correct answer is 20 MHz.

But I am getting 10 MHz. I attached a text file which shows all the work I done.

Can someone please explain this question and tell me where I am doing it wrong.

Thanks
From attachment said:
Therefore the state diagram is: 1010 --> 1011 --> 1100 --> 0010 --> 0011 --> 0100
and then it repeats
Your state diagram, and sequence are correct. :approve:
Also from attachment said:
So according to me since this counter has 6 different states thus the frequency is 60/6 = 10 MHz.
Look at the problem statement once again (and Figure 12). You need to calculate the frequency of signal z. (The signal z is the same thing as Q1.) How many periods does signal z have in one complete sequence? :wink:
 
so now if I was to write Z I get
1 1 0 1 1 0

therefore Z is repeating 110 thus,

60/3 gives 20 MHz

am I on right track?
 
amninder15 said:
so now if I was to write Z I get
1 1 0 1 1 0

therefore Z is repeating 110 thus,

60/3 gives 20 MHz

am I on right track?
Yes, you are absolutely on the right track. :approve: But you'll need to be a little more detailed about where that '3' came from. (I think you already have it, but you should be prepared spell it out for the sake of your instructor).

There are 6 clock cycles per sequence (as you have already figured out in your original post). How many periods of z exist per sequence? How many clock cycles exist in one period of z? And thus, what's the frequency of z?
 
Last edited:

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 22 ·
Replies
22
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
2K