mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
sta: more graceful when maxbit is not an endpoint, will still print path
This commit is contained in:
parent
72d73fe4d0
commit
cf6b60f79c
2 changed files with 32 additions and 17 deletions
15
tests/various/sta.ys
Normal file
15
tests/various/sta.ys
Normal file
|
@ -0,0 +1,15 @@
|
|||
read_verilog -specify <<EOT
|
||||
module buffer(input i, output o);
|
||||
specify
|
||||
(i => o) = 10;
|
||||
endspecify
|
||||
endmodule
|
||||
|
||||
module top(input i);
|
||||
wire w;
|
||||
buffer b(.i(i), .o(w));
|
||||
endmodule
|
||||
EOT
|
||||
|
||||
logger -expect warning "Critical-path does not terminate in a recognised endpoint\." 1
|
||||
sta
|
Loading…
Add table
Add a link
Reference in a new issue