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

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


The simulation result for the VHDL AND gate. The output "y"
asserts high when inputs a and b are both high.