mirror of https://github.com/YosysHQ/yosys.git
16 lines
238 B
Plaintext
16 lines
238 B
Plaintext
|
read_verilog -sv <<EOF
|
||
|
module top;
|
||
|
integer x, y;
|
||
|
initial y = (x += 1);
|
||
|
endmodule
|
||
|
EOF
|
||
|
design -reset
|
||
|
|
||
|
logger -expect error "syntax error, unexpected TOK_ID" 1
|
||
|
read_verilog <<EOF
|
||
|
module top;
|
||
|
integer x, y;
|
||
|
initial y = (x += 1);
|
||
|
endmodule
|
||
|
EOF
|