verilog code for Manchester carry adder

Status
Not open for further replies.

Lalitha Gosukonda

Newbie level 3
Joined
Mar 12, 2014
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
17
how to write a verilog code for Manchester carry adder:?:
 



https://obrazki.elektroda.pl/4572597200_1394618486.png

Find the attached block diagram of the simple 2, four-bit manchester adders.
It can be generalized as below.

Boolean Equations:
1) Gi = Ai and Bi
2) Pi = Ai xorBi
3) Si = Pi xor Ci
4) Ci+1 = Gi or (Pi and Ci )
where
-- Gi -> carry generate of ith stage
-- Pi -> carry propagate of ith stage
-- Si -> sum of ith stage
-- Ci+1 -> carry out of ith stage
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…