Add test: 'Warning: ignoring initial value on non-register: \o'
authorEddie Hung <eddie@fpgeh.com>
Wed, 11 Dec 2019 19:26:54 +0000 (11:26 -0800)
committerEddie Hung <eddie@fpgeh.com>
Wed, 11 Dec 2019 19:26:54 +0000 (11:26 -0800)
tests/sat/initval.ys

index 2079d2f34e13971cd336cb50372e14baace6b9e9..337aa9343961a971bdd3cd56018165f8761c0848 100644 (file)
@@ -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