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.

up/down counter using half adder ?

Status
Not open for further replies.

truebs

Full Member level 5
Joined
Jan 21, 2005
Messages
311
Helped
22
Reputation
44
Reaction score
4
Trophy points
1,298
Location
Asia
Activity points
2,980
half adder counter

Hello friends..
can you tell me something about designing a up down counter using only half adders (and flip flops) say for 4 bit ?

VHDL code would also do ...or a logic diagram or a link....?

thanks....
 

tarkyss

Full Member level 6
Joined
Aug 1, 2005
Messages
345
Helped
26
Reputation
52
Reaction score
9
Trophy points
1,298
Location
China
Activity points
4,185
counter with half adders

how many half adders?
two half adders are equal with a full adders,
only one half adders?
 

truebs

Full Member level 5
Joined
Jan 21, 2005
Messages
311
Helped
22
Reputation
44
Reaction score
4
Trophy points
1,298
Location
Asia
Activity points
2,980
couter using half adder

any number would do....the aim is to create a 4 bit up/down counter using half adders...(it would need 4 as far as i know)
 

tarkyss

Full Member level 6
Joined
Aug 1, 2005
Messages
345
Helped
26
Reputation
52
Reaction score
9
Trophy points
1,298
Location
China
Activity points
4,185
counter half adder

you can use two half adders to consist of a full adder
then use full adder to build your counter
 

anjali

Full Member level 3
Joined
Aug 16, 2005
Messages
173
Helped
14
Reputation
28
Reaction score
6
Trophy points
1,298
Activity points
3,033
implementing counter using adder

full adder = half adder + half adder

to implement up counter, pass present count + 1
& we have to store the present count ie register the present count, which is initially 0.

in this way, we can implement up counter.

to implement down counter, present - 1

we can implement subtractor with an adder, with inputs, operand1 & !(operand2)

implementation of up/down counter:
let control signal = 0 for addition,
= 1 for subtraction.

then inputs for the counter are, operand1 & XOR(operand2 , control signal).
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top