projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613334d
)
Add test: 'Warning: ignoring initial value on non-register: \o'
author
Eddie Hung
<eddie@fpgeh.com>
Wed, 11 Dec 2019 19:26:54 +0000
(11:26 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Wed, 11 Dec 2019 19:26:54 +0000
(11:26 -0800)
tests/sat/initval.ys
patch
|
blob
|
history
diff --git
a/tests/sat/initval.ys
b/tests/sat/initval.ys
index 2079d2f34e13971cd336cb50372e14baace6b9e9..337aa9343961a971bdd3cd56018165f8761c0848 100644
(file)
--- a/
tests/sat/initval.ys
+++ b/
tests/sat/initval.ys
@@
-2,3
+2,13
@@
read_verilog -sv initval.v
proc;;
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