0
Write VHDL Program for NAND gate.?
0
0

Logic Operation – NAND Gate

enter image description here

X Y z
0 0 1
0 1 1
1 0 1
1 1 0

VHDL Code:

Library ieee; 
use ieee.std_logic_1164.all; 
entity nand1 is
port(a,b:in bit ; c:out bit); 
end nand1; 
architecture virat of nand1 is
begin
c<=a nand b; 
end virat;

Waveforms

enter image description here

0
Please log in to add an answer.

Continue reading

Find answer to specific questions by searching them here. It's the best way to discover useful content.

Find more