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:
parent
10eaeabe1e
commit
9cf172b7a9
2 changed files with 51 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue