NOR Gate Beha - Modeling
NOR Gate Beha - Modeling
library IEEE; use IEEE.STD_LOGIC_1164.ALL; ----------------------------------------------entity nor_1 is Port ( l, m : in STD_LOGIC; n : out STD_LOGIC); end nor_1; ----------------------------------------------architecture Behavioral_nor of nor_1 is begin ----------------process(l, m) begin if(m='0') then n<= not l; else n<= '0'; end if; end process; ----------------end Behavioral_nor; TRUTH TABLE: -
*\\ l and m are the input port to the and gate. *\\ n is output port to the and gate.
*\\ architecture of nor_1 entity begins. *\\ process (sensitivity list). After this statement all statement will be *\\ if (condition is true) then output (n) equal to not of l.
OUTPUT WAVEFORM: -
INFOOP2R.WIX.COM/OP2R