3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 17:15:33 +00:00

sta: better handling when no timing paths and unused bits

This commit is contained in:
Eddie Hung 2020-04-03 14:03:27 -07:00
parent 10eaeabe1e
commit 9cf172b7a9
2 changed files with 51 additions and 9 deletions

View file

@ -13,3 +13,31 @@ EOT
logger -expect warning "Critical-path does not terminate in a recognised endpoint\." 1
sta
design -reset
read_verilog -specify <<EOT
module top(input i, output o, p);
assign o = i;
endmodule
EOT
logger -expect log "No timing paths found\." 1
sta
design -reset
read_verilog -specify <<EOT
module buffer(input i, output o);
specify
(i => o) = 10;
endspecify
endmodule
module top(input i, output o, p);
buffer b(.i(i), .o(o));
endmodule
EOT
sta
logger -expect-no-warnings