Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. library IEEE;
  2. use IEEE.STD_LOGIC_1164.all;
  3.  
  4. entity L8_nor is
  5. generic (tp: time := 2 ns);
  6. port( A : in STD_LOGIC;
  7. B : in STD_LOGIC;
  8. C : in STD_LOGIC;
  9. Y : out STD_LOGIC );
  10. end L8_nor;
  11.  
  12. architecture Opis_L8_nor of L8_nor is
  13. begin
  14. Y <= A nor B nor C after tp;
  15. end Opis_L8_nor;
  16.  
  17. -------------------------------------------------------------------------------
  18.  
  19. library IEEE;
  20. use IEEE.STD_LOGIC_1164.all;
  21.  
  22. entity L8_nand is
  23. generic (tp: time := 2 ns);
  24. port( A : in STD_LOGIC;
  25. B : in STD_LOGIC;
  26. C : in STD_LOGIC;
  27. Y : out STD_LOGIC);
  28. end L8_nand;
  29.  
  30. architecture Opis_L8_nand of L8_nand is
  31. begin
  32. Y <= A nand B nand C after tp;
  33. end Opis_L8_nand;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement