10 multiclock: multiclock on
18 read_verilog -formal const_clocks.sv
19 prep -flatten -top top
21 [file const_clocks.sv]
28 wire [7:0] some_const = $anyconst;
32 ff ff1(.clk(1'b0), .d(d), .q(q));
34 initial assume (some_const == q);
35 initial assume (q != 0);
38 always @(posedge clk) assert(some_const == q);
41 module ff(input clk, input [7:0] d, (* keep *) output reg [7:0] q);
42 always @(posedge clk) q <= d;