Which of the following logic describes the EXOR gate?

Khánh Đoan

New member
Which of the following logic describes the EXOR gate?
A. y <= ((not a) OR (not b)) AND ((not a) OR (not b));
B. y <= ((not a) OR b) AND (a OR (not b))
C. y <= ((not a) AND (not b)) OR ((not a) AND (not b));
D. y <= ((not a) AND b) OR (a AND (not b));
 
Answer: d
Explanation: EXOR function or Exclusive OR is a function in which two inputs of the gate can’t be at high level exclusively, in that case the output will be low. It is described by Y = A’B + AB’. This function is described in the VHDL terms by using option d. Therefore, option d represents EXOR gate.
 

Tìm kiếm

Back
Top