3
0
Fork 0
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:
Eddie Hung 2020-03-31 15:18:03 -07:00
parent 72d73fe4d0
commit cf6b60f79c
2 changed files with 32 additions and 17 deletions

15
tests/various/sta.ys Normal file
View 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