Advertisement
foreverfugazi

Untitled

Sep 18th, 2023
975
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module enc83_tb();
  2.     logic [7:0] d;
  3.     logic [2:0] y;
  4.     enc83 uut(d,y);
  5.     initial
  6.     begin
  7.     d = 8'b00000001;
  8.     #10 d = 8'b00000010;
  9.     #10 d = 8'b00000100;
  10.     #10 d = 8'b00001000;
  11.     #10 d = 8'b00010000;
  12.     #10 d = 8'b00100000;
  13.     #10 d = 8'b01000000;
  14.     #10 d = 8'b10000000;
  15.     #10
  16.     $finish;
  17.     end  
  18. endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement