mirror of https://github.com/YosysHQ/yosys.git
verilog: ignore ranges too without -specify
This commit is contained in:
parent
6b58c1820c
commit
d20c1dac73
|
@ -1138,7 +1138,8 @@ ignspec_expr:
|
||||||
};
|
};
|
||||||
|
|
||||||
ignspec_id:
|
ignspec_id:
|
||||||
TOK_ID { delete $1; };
|
TOK_ID { delete $1; }
|
||||||
|
range_or_multirange { delete $3; };
|
||||||
|
|
||||||
/**********************************************************************/
|
/**********************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -55,3 +55,10 @@ specify
|
||||||
$setup(d, posedge clk &&& e, 1:2:3);
|
$setup(d, posedge clk &&& e, 1:2:3);
|
||||||
endspecify
|
endspecify
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
module test6(input clk, d, e, output q);
|
||||||
|
specify
|
||||||
|
(d[0] *> q[0]) = (3,1);
|
||||||
|
(posedge clk[0] => (q[0] +: d[0])) = (3,1);
|
||||||
|
endspecify
|
||||||
|
endmodule
|
||||||
|
|
Loading…
Reference in New Issue