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.

[SOLVED] logic operation of two VECTORs

Status
Not open for further replies.
A

ahmadagha23

Guest
Hi
How can I "XOR" corresponding bits of two std_logic vectors by each other? Is it required to write a function?
 

ahmadagha23 said:
Hi
How can I "XOR" corresponding bits of two std_logic vectors by each other? Is it required to write a function?

Hi
you can separately xor each bit.
i.e d(0) xor a(0).
 

You can use the xor for vectors:

xxor<= a xor b;
all above being st_logic_vectors...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top