Advertisement
Guest User

Untitled

a guest
Feb 5th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. code is here:
  2.  
  3. ENTITY top IS END top;
  4.  
  5. ARCHITECTURE example OF top IS
  6. SIGNAL w,x,y,z : integer := 0;
  7. BEGIN
  8. p1 : PROCESS(z)
  9. VARIABLE a : integer := 0;
  10. BEGIN
  11. a := a + 20;
  12. w <= w + 10;
  13. x <= a + w AFTER 10 ns;
  14. y <= a - w AFTER 20 ns;
  15. END PROCESS;
  16.  
  17. p2: PROCESS
  18. BEGIN
  19. z <= (x + y) AFTER 30 ns;
  20. [![enter image description here][1]][1]
  21. WAIT ON x,y;
  22. END PROCESS;
  23. END example;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement