Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. library ieee ;
  2. use ieee.std_logic_1164.all;
  3. use work.all;
  4.  
  5.  
  6. entity dff is
  7. port( dado: in std_logic;
  8. clock: in std_logic;
  9. saida: out std_logic
  10. );
  11. end dff;
  12.  
  13.  
  14. architecture behv of dff is
  15. begin
  16.  
  17. process(dado, clock)
  18. begin
  19.  
  20. --if (clock='1' and clock'event) then
  21. if (clock='1' ) then
  22. saida <= dado;
  23. end if;
  24.  
  25. end process;
  26.  
  27. end behv;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement