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.

tcam memory parity bit generation for parameter extractor

Status
Not open for further replies.

mahalakshmi r

Newbie level 6
Joined
Sep 26, 2014
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
95
please any tell me, whether parity bit calculation possible in tcam memory parameter extraction..
i.e., xor operation can perform unknown x(either 0 or 1) value.
another one is,
if binary word has unknown term we can say that word is even or odd parity?
 

please any tell me, whether parity bit calculation possible in tcam memory parameter extraction..
i.e., xor operation can perform unknown x(either 0 or 1) value.
another one is,
if binary word has unknown term we can say that word is even or odd parity?

XOR with an unknown (i.e. X) will be X.

e.g.
0 ^ X => X
1 ^ X => X
X ^ X => X
 

XOR with an unknown (i.e. X) will be X.

e.g.
0 ^ X => X
1 ^ X => X
X ^ X => X

thank you for reply....
but i have doubt that binary word with this unknown term can defined by even or odd parity?
 

thank you for reply....
but i have doubt that binary word with this unknown term can defined by even or odd parity?

It can't be defined at all. To compute a parity value for any bit sequence you have to know what ALL the bits are in the sequence. Any bit that is X results in a parity value that can not be computed. As by it's very nature X means "We don't know if the bit is a 1 or a 0".

And for whether or not the parity is even or odd, that is defined by the parity scheme that was specified for the data, it has nothing to do with the bit sequence you are computing the parity for.

e.g.
Compute odd parity for...
10010001x0010000 = X
1001000100010000 = 1 (4, 1's plus 1 parity = 5, 1's)
1001000110010000 = 0 (5, 1's)

Compute even parity for...
10010001x0010000 = X
1001000100010000 = 0 (4, 1's)
1001000110010000 = 1 (5, 1's plus 1 parity = 6, 1's)
 
Last edited:
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top