msdarvishi
Full Member level 4
Hello,
I have two vectors A and B that are defined as STD_LOGIC_VECTOR in VHDL. I would like to XOR each pair of correspoing bits from A and B (a0,b0 a1,b1, ...) and ONLY have ONE output at the end to use this output as a flag. I am confused to use XOR_REDUCE function or performing a BITWISE XOR operation?? As I know, the XOR_REDUCE will perform xor on all bits of each individual vector and BITWISE operation will have a VECTOR at its output nor ONE output !!
Any kid help is cordially appreciated
Regards,
I have two vectors A and B that are defined as STD_LOGIC_VECTOR in VHDL. I would like to XOR each pair of correspoing bits from A and B (a0,b0 a1,b1, ...) and ONLY have ONE output at the end to use this output as a flag. I am confused to use XOR_REDUCE function or performing a BITWISE XOR operation?? As I know, the XOR_REDUCE will perform xor on all bits of each individual vector and BITWISE operation will have a VECTOR at its output nor ONE output !!
Any kid help is cordially appreciated
Regards,