Description:-
If we put a not gate in front of any and gate then it is known as nand gate. In this the program is written in gate level modelling.
VHDL program for nand gate
----------------------------------------------------------------------------------
-- Company: VHDLtutorials.blogspot.in-- Engineer: G.Anitha
--
-- Create Date: 13:16:39 06/18/2014
-- Design Name: G.Anitha
-- Module Name: nandgate - Gate Level
-- Project Name: Basic Logical nand gate
-- Vhdl code for nand gate, nand gate vhdl code , nand gate program in vhdl,
-- nand gate gate level modelling, gate level example for nand gate using vhdl
----------------------------------------------------------------------------------
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity nandgate is
Port ( a : in STD_LOGIC;
b : in STD_LOGIC;
c : out STD_LOGIC);
end nandgate;
architecture Behavioral of nandgate is
begin
c <= a nand b;
end Behavioral;
No comments:
Post a Comment