All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > Homework Help

Notices

Homework Help Stuck on a textbook question or coursework? Cramming for a test and need help understanding something? Post your questions and attempts here and let others help.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 12-13-2013, 05:11 PM
TheSpArK505 TheSpArK505 is offline
New Member
 
Join Date: Sep 2013
Location: Arabian peninsula
Posts: 8
Default Odd/Even numbers counter.

Hello guys.

I need to design a counter that works as (even x=0/odd x=1) numbers counter. I,m having difficulties with state diagram.when I begin at 000,x=0 should I stay at this state and when x=0 should I go to 001. And what about the state after this,is it 001,x=0 I go to 010,when x=1 should I go to 011. Is that correct.

Help me please.
Reply With Quote
  #2  
Old 12-13-2013, 05:45 PM
ScottWang ScottWang is online now
Senior Member
 
Join Date: Aug 2012
Location: Taiwan,Asia (GMT +8)
Posts: 1,543
Blog Entries: 7
Default

Converting all of the functions to the truth table, and using the truth table to build the circuit.
Reply With Quote
  #3  
Old 12-13-2013, 06:36 PM
TheSpArK505 TheSpArK505 is offline
New Member
 
Join Date: Sep 2013
Location: Arabian peninsula
Posts: 8
Default

do you mean that the states transitions I mentioned are correct.
Reply With Quote
  #4  
Old 12-13-2013, 07:04 PM
ScottWang ScottWang is online now
Senior Member
 
Join Date: Aug 2012
Location: Taiwan,Asia (GMT +8)
Posts: 1,543
Blog Entries: 7
Default

You can see the truth table of CD4518, and then talk about what you think.

CD4518 datasheet - to see the truth table on the first page..
Reply With Quote
  #5  
Old 12-13-2013, 07:45 PM
tshuck tshuck is online now
E-book Developer
 
Join Date: Oct 2012
Location: Long Beach, CA
Posts: 2,999
Blog Entries: 1
Default

What does the prompt say? Since you are designing it, it could reasonably do any number of things and still count odd and even.

Does this count up? Down? How many bits (from your example, it looks like 3)? What approach? Synchronous?

You need to be much more specific.
Reply With Quote
  #6  
Old 12-13-2013, 08:57 PM
WBahn WBahn is offline
Senior Member
 
Join Date: Apr 2012
Location: Larkspur, Colorado
Posts: 8,070
Blog Entries: 9
Default

Quote:
Originally Posted by TheSpArK505 View Post
Hello guys.

I need to design a counter that works as (even x=0/odd x=1) numbers counter. I,m having difficulties with state diagram.when I begin at 000,x=0 should I stay at this state and when x=0 should I go to 001. And what about the state after this,is it 001,x=0 I go to 010,when x=1 should I go to 011. Is that correct.

Help me please.
You need to post your best effort at coming up with a state diagram.

Foe each state, describe what, precisely, being in that state means. A good way to do this is to finish the following statement for each state:

If you tell me that I am in state xxx, then I know yyy about the system.
Reply With Quote
  #7  
Old 12-13-2013, 10:06 PM
djsfantasi's Avatar
djsfantasi djsfantasi is online now
Senior Member
 
Join Date: Apr 2010
Location: Northeast US
Posts: 960
Blog Entries: 1
Default

I am curious? What is "x"? Is it an input to the logic or an output from it?

And what is the three bit value you are showing? Is it the counter value? How does the circuit count? Is there a separate input to tell the circuit to count?

Try defining the obvious state transitions, first. The others may become clearer after that.

For example, if the counter value is 010 and x=0, what is the next state/value of the counter? Does it or does it not make sense to have the next state be 011?

Just trying to some clarity of your problem.
__________________
- Δj' fαπταi
Reply With Quote
Reply   Post New Thread

Tags
, ,


Related Site Pages
Section Title
Worksheet Encoders and decoders
Video Lecture Completing Truth Tables - Digital
Textbook The R/2R DAC : Digital-analog Conversion
Textbook The R/2 n R DAC : Digital-analog Conversion
Textbook Ring counters : Shift Registers
Textbook 3-bit binary counter : Digital Integrated Circuits
Textbook Don't care cells in the Karnaugh map : Karnaugh Mapping
Textbook Multiple-input gates : Logic Gates
Textbook Digital signals and gates : Logic Gates
Textbook Negative binary numbers : Binary Arithmetic


Similar Threads
Thread Thread Starter Forum Replies Last Post
4 bit jk counter only odd numbers OMMad Homework Help 5 11-19-2010 01:02 AM
Help! with 74LS93N Counter idmond The Projects Forum 6 10-13-2010 02:11 PM
PIC 16F84A Counter (0-999) roger101 Embedded Systems and Microcontrollers 13 07-24-2009 10:52 AM
Complex Numbers 6: Dividing Complex Numbers Nirvana Math 2 01-14-2008 09:58 AM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:52 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.