Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library IEEE;
- use IEEE.STD_LOGIC_1164.ALL;
- entity demultiplekser is
- Port ( wej : in STD_LOGIC_vector(1 downto 0);
- wyj : out STD_LOGIC_vector(3 downto 0));
- end demultiplekser;
- architecture Behavioral of demultiplekser is
- begin
- with wej select
- wyj <= "1110" when "00",
- "1101" when "01",
- "1011" when "10",
- "0111" when others;
- end Behavioral;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement