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.

why EX-OR in block and cyclic codes

Status
Not open for further replies.

electronics_kumar

Advanced Member level 2
Advanced Member level 2
Joined
Nov 29, 2004
Messages
657
Helped
34
Reputation
68
Reaction score
9
Trophy points
1,298
Location
Tamilnadu
Activity points
5,552
y we are always using EX-OR gate whenever we are facing addition

ie ....idea or benefit of using modulo 2 addition for binary or addition
 

Well, I use the "+" symbol in my RTL for addition and XOR in CRCs as they are functionally correct. I then feed the RTL to a synthesiser which is free to use functionally equivalent logic to implement the design in the best time/area tradeoff according to my constraints. If it uses XORs in a final netlist, it will be becuase they are best for that situation.
 

Because XOR gate gives you a half adder. You just add the carry-bit computation to implement a full adder, which can be extended to whatever bit-size you want.
SUM = A xor B xor CIN
COUT = A.B + A.CIN + B.CIN
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top