15 lines
210 B
Coq
15 lines
210 B
Coq
|
|
module top;
|
||
|
|
reg res;
|
||
|
|
reg [1:0] in;
|
||
|
|
|
||
|
|
initial begin
|
||
|
|
in = 2'b00;
|
||
|
|
|
||
|
|
res = ~ |in;
|
||
|
|
res = ~ ∈
|
||
|
|
res = ~ ^in;
|
||
|
|
|
||
|
|
$display("FAILED: These expressions should be a syntax error.");
|
||
|
|
end
|
||
|
|
endmodule
|