the Technology Interface / Winter98
VHDL Sample Routine
A 2-input XOR gate
from the Technology Interface

The following is a VHDL listing and simulation of a 2-input XOR gate. The two inputs are "a" and "b". The output is "y". The entity is called TTL7486 since this is a VHDL implementation of the function of that device.

The simulation result for the VHDL XOR gate. The output "y" asserts high
when inputs a and b are not equal.