Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

3 bit counter like circuit using D flip flop

Status
Not open for further replies.

cfreng2

Junior Member level 3
Joined
Jul 12, 2006
Messages
31
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,507
hi all! Can anyone help me analyze this problem? I'm confused with this.

Design a 3 bit counterlike circuit controlled by the input w. If w=1 then the counter adds 2 to its contents, wrapping around if the count reaches 8 or 9. Thus if the present state is 8 or 9, then the next state becomes 0 or 1, respectively. If w = 0 then the counter subtracts 1 from its contents, acting as a normal down-counter. Use D flip flop in your circuit.
 

Do it with VHDL and perform the synthesis f the code using a synthesis tool. You'll get what you want designed with dffs.
 

I'm not doing a simulation. I'm doing a manual design for this. I'm confused on the count from 0-8 or 1-9... Since there are only 8 states (2^3bits = 8). So we could only have a count from 0-7 or 1-8.What can I do to get 8?..I'm really confused about this...
 

Heynthe problem is simple... you have only 3 flip-flops...
But your adder can be 4-bit...i.e if you get an overflow in the adder then you reset the counter to 0 or 1 depending on whether the overflow was 8 or 9... Hope i'm clear...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top