mirror of https://github.com/YosysHQ/yosys.git
8 lines
178 B
Plaintext
8 lines
178 B
Plaintext
|
logger -expect error "Assignments within expressions are only permitted within procedures." 1
|
||
|
read_verilog -sv <<EOF
|
||
|
module top;
|
||
|
integer x, y;
|
||
|
assign x = (y += 2);
|
||
|
endmodule
|
||
|
EOF
|