From ca5b910296c05c95f3bc7f2d1d2b7db19d6328e2 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Fri, 1 Apr 2022 21:03:20 +0200 Subject: opt_merge: Add `-keepdc` option required for formal verification The `-keepdc` option prevents merging flipflops with dont-care bits in their initial value, as, in general, this is not a valid transform for formal verification. The keepdc option of `opt` is passed along to `opt_merge` now. --- tests/opt/opt_merge_init.ys | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) (limited to 'tests') diff --git a/tests/opt/opt_merge_init.ys b/tests/opt/opt_merge_init.ys index 20b6cabee..7ee7d3dd7 100644 --- a/tests/opt/opt_merge_init.ys +++ b/tests/opt/opt_merge_init.ys @@ -75,3 +75,53 @@ EOT opt_merge select -assert-count 2 t:$dff + +design -reset +read_verilog -icells <