mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-08 23:23:25 +00:00
Add test: 'Warning: ignoring initial value on non-register: \o'
This commit is contained in:
parent
613334d9dc
commit
e75ca29b19
1 changed files with 10 additions and 0 deletions
|
@ -2,3 +2,13 @@ read_verilog -sv initval.v
|
||||||
proc;;
|
proc;;
|
||||||
|
|
||||||
sat -seq 10 -prove-asserts
|
sat -seq 10 -prove-asserts
|
||||||
|
|
||||||
|
design -reset
|
||||||
|
read_verilog -icells <<EOT
|
||||||
|
module top(input clk, i, output o, p);
|
||||||
|
(* init = 1'bx *)
|
||||||
|
wire p = o;
|
||||||
|
$_DFF_P_ dff (.C(clk), .D(i), .Q(o));
|
||||||
|
endmodule
|
||||||
|
EOT
|
||||||
|
sat -seq 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue