Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library IEEE;
- use IEEE.STD_LOGIC_1164.ALL;
- entity elmux is
- Port (D0: in std_logic;
- D1: in std_logic;
- Bneg: in std_logic;
- nout: out std_logic);
- end elmux;
- architecture Behavioral of elmux is
- begin
- nout <= D0 when(Bneg= '1') else D1;
- end Behavioral;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement