Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module enc83_tb();
- logic [7:0] d;
- logic [2:0] y;
- enc83 uut(d,y);
- initial
- begin
- d = 8'b00000001;
- #10 d = 8'b00000010;
- #10 d = 8'b00000100;
- #10 d = 8'b00001000;
- #10 d = 8'b00010000;
- #10 d = 8'b00100000;
- #10 d = 8'b01000000;
- #10 d = 8'b10000000;
- #10
- $finish;
- end
- endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement