The Gated D Latch (Nand Based) VHDL Program
by Isai Damier

VHDL Program:

Test Bench: