mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-19 07:16:27 +00:00
Fix nolatch test.
This commit is contained in:
parent
01e2698247
commit
a46bc77eeb
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ module top(input g, rn, d, output reg q);
|
|||
always @* if (~rn) q <= 0; else if (g) q <= d;
|
||||
endmodule
|
||||
EOT
|
||||
proc -latches info
|
||||
proc
|
||||
select -assert-count 1 t:$dlatch
|
||||
logger -expect warning "is a latch of type" 1
|
||||
check -nolatches
|
||||
|
|
@ -26,6 +26,6 @@ module top(input g, rn, d, output reg q);
|
|||
always @* if (~rn) q <= 0; else if (g) q <= d;
|
||||
endmodule
|
||||
EOT
|
||||
proc -latches info
|
||||
proc
|
||||
logger -expect error "Found 1 problems in" 1
|
||||
check -nolatches -assert
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue