Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. clock : PROCESS
  2.  
  3. BEGIN
  4.  
  5. C<='0';
  6.  
  7. WAIT for 10ns;
  8.  
  9. C<='1';
  10.  
  11. WAIT for 10ns;
  12.  
  13. END PROCESS;
  14.  
  15.  
  16.  
  17. tb : PROCESS
  18.  
  19. BEGIN
  20.  
  21. R<='1';
  22. WAIT FOR 10ns;
  23. R <='0';
  24. wait for 10ns;
  25. x<='0';
  26. wait for 20 ns;
  27. x<='0';
  28. wait for 20 ns;
  29. x<='1';
  30. wait for 20 ns;
  31. x<='1';
  32. wait for 20 ns;
  33. x<='0';
  34. wait for 20 ns;
  35. x<='1';
  36. wait for 20 ns;
  37. x<='0';
  38. wait for 20 ns;
  39. x<='1';
  40. wait for 20 ns;
  41. x<='0';
  42. wait for 20 ns;
  43. x<='0';
  44. wait for 20 ns;
  45. x<='1';
  46. wait for 20 ns;
  47. x<='0';
  48. wait for 20 ns;
  49. x<='1';
  50. wait for 20 ns;
  51. x<='0';
  52. wait for 20 ns;
  53. x<='0';
  54. wait for 20 ns;
  55. x<='1';
  56. wait for 20 ns;
  57. x<='1';
  58. wait for 20 ns;
  59. x<='1';
  60. wait for 20 ns;
  61. x<='0';
  62. wait for 20 ns;
  63. x<='1';
  64. wait for 20 ns;
  65. x<='0';
  66. wait for 20 ns;
  67. x<='1';
  68. wait for 20 ns;
  69. x<='1';
  70. wait for 20 ns;
  71. x<='0';
  72. wait for 20 ns;
  73. x<='1';
  74. wait for 20 ns;
  75.  
  76. END PROCESS;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement