Alx09

Untitled

Oct 4th, 2020
1,099
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. library IEEE;
  2. use IEEE.std_logic_1164.all;
  3.  
  4. ENTITY demux_E IS
  5.     PORT(
  6.     f,a,b :IN std_logic;
  7.     f1,f2,f3,f4 :OUT std_logic );
  8. END demux_E;
  9.  
  10. ARCHITECTURE demux_A OF demux_E IS
  11. BEGIN
  12.     f1 <= not a and not b and f;
  13.     f2 <= not a and b and f;
  14.     f3 <= a and not b and f;
  15.     f4 <= a and b and f;
  16. END demux_A;  
  17.  
Advertisement
Add Comment
Please, Sign In to add comment