forked from libre-chip/fayalite
queue formal proof passes!
This commit is contained in:
parent
343805f80b
commit
0d54b9a2a9
6 changed files with 183 additions and 86 deletions
|
@ -3394,7 +3394,7 @@ circuit check_formal: %[[
|
|||
{
|
||||
"class": "firrtl.transforms.BlackBoxInlineAnno",
|
||||
"name": "fayalite_formal_reset.v",
|
||||
"text": "module __fayalite_formal_reset(output rst);\n reg rst;\n (* gclk *)\n reg gclk;\n initial rst = 1;\n always @(posedge gclk)\n rst <= 0;\nendmodule\n",
|
||||
"text": "module __fayalite_formal_reset(output rst);\n assign rst = $initstate;\nendmodule\n",
|
||||
"target": "~check_formal|formal_reset"
|
||||
}
|
||||
]]
|
||||
|
@ -3407,20 +3407,20 @@ circuit check_formal: %[[
|
|||
input pred1: UInt<1> @[module-XXXXXXXXXX.rs 6:1]
|
||||
input pred2: UInt<1> @[module-XXXXXXXXXX.rs 7:1]
|
||||
input pred3: UInt<1> @[module-XXXXXXXXXX.rs 8:1]
|
||||
inst formal_reset of formal_reset @[formal.rs 189:24]
|
||||
inst formal_reset of formal_reset @[formal.rs 185:24]
|
||||
assert(clk, pred1, and(en1, not(formal_reset.rst)), "en check 1") @[module-XXXXXXXXXX.rs 9:1]
|
||||
inst formal_reset_1 of formal_reset @[formal.rs 189:24]
|
||||
inst formal_reset_1 of formal_reset @[formal.rs 185:24]
|
||||
assume(clk, pred2, and(en2, not(formal_reset_1.rst)), "en check 2") @[module-XXXXXXXXXX.rs 10:1]
|
||||
inst formal_reset_2 of formal_reset @[formal.rs 189:24]
|
||||
inst formal_reset_2 of formal_reset @[formal.rs 185:24]
|
||||
cover(clk, pred3, and(en3, not(formal_reset_2.rst)), "en check 3") @[module-XXXXXXXXXX.rs 11:1]
|
||||
inst formal_reset_3 of formal_reset @[formal.rs 189:24]
|
||||
inst formal_reset_3 of formal_reset @[formal.rs 185:24]
|
||||
assert(clk, pred1, and(UInt<1>(0h1), not(formal_reset_3.rst)), "check 1") @[module-XXXXXXXXXX.rs 12:1]
|
||||
inst formal_reset_4 of formal_reset @[formal.rs 189:24]
|
||||
inst formal_reset_4 of formal_reset @[formal.rs 185:24]
|
||||
assume(clk, pred2, and(UInt<1>(0h1), not(formal_reset_4.rst)), "check 2") @[module-XXXXXXXXXX.rs 13:1]
|
||||
inst formal_reset_5 of formal_reset @[formal.rs 189:24]
|
||||
inst formal_reset_5 of formal_reset @[formal.rs 185:24]
|
||||
cover(clk, pred3, and(UInt<1>(0h1), not(formal_reset_5.rst)), "check 3") @[module-XXXXXXXXXX.rs 14:1]
|
||||
extmodule formal_reset: @[formal.rs 168:5]
|
||||
output rst: UInt<1> @[formal.rs 171:32]
|
||||
extmodule formal_reset: @[formal.rs 169:5]
|
||||
output rst: UInt<1> @[formal.rs 172:32]
|
||||
defname = __fayalite_formal_reset
|
||||
"#,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue