mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
verilog: improve specify support when not in -specify mode
This commit is contained in:
parent
2e51dc1856
commit
6b58c1820c
3 changed files with 8 additions and 16 deletions
|
@ -7,11 +7,9 @@ module test (
|
|||
if (EN) Q <= D;
|
||||
|
||||
specify
|
||||
`ifndef SKIP_UNSUPPORTED_IGN_PARSER_CONSTRUCTS
|
||||
if (EN) (posedge CLK *> (Q : D)) = (1, 2:3:4);
|
||||
$setup(D, posedge CLK &&& EN, 5);
|
||||
$hold(posedge CLK, D &&& EN, 6);
|
||||
`endif
|
||||
endspecify
|
||||
endmodule
|
||||
|
||||
|
|
|
@ -55,4 +55,4 @@ equiv_induct -seq 5
|
|||
equiv_status -assert
|
||||
design -reset
|
||||
|
||||
read_verilog -DSKIP_UNSUPPORTED_IGN_PARSER_CONSTRUCTS specify.v
|
||||
read_verilog specify.v
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue