blob: 53f5f65bded47c9e38fe2b38acb6092bcd8aa9b0 [file] [log] [blame] [edit]
// 4-input LUT test.
module top(input [3:0] I, output O);
always @(I)
case(I)
4'b0000 : O = 1;
4'b1000 : O = 1;
4'b1100 : O = 1;
4'b1010 : O = 1;
4'b1001 : O = 1;
4'b1111 : O = 1;
default : O = 0;
endcase
endmodule // top