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

The following is a VHDL listing and simulation of a 2-input NAND gate. The two inputs are "a" and "b". The output is "y". The entity is called TTL7400 since this is a VHDL implementation of one gate of the function of that device. Comments are identified by -- followed by text.


The VHDL simulation of the 2-input NAND gate. The output "y" asserts low when a = b.