Professional Documents
Culture Documents
Transmission Gate
Transmission Gate
2
Transmission Gate
-- Uncomment the following lines to use the declarations that are -- provided for instantiating Xilinx primitive components. --library UNISIM; --use UNISIM.VComponents.all;
entity transmision_gate is Port ( p_gate,n_gate,source : in std_logic; drain : out std_logic); end transmision_gate;
begin
elsif( p_gate='1' and n_gate='0')then drain<= 'Z'; else drain<= 'X'; end if;
end process;
end Behavioral;