From: Eddie Hung Date: Tue, 1 Oct 2019 02:54:59 +0000 (-0700) Subject: equiv_opt with -assert X-Git-Tag: working-ls180~989^2~9 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1caaf5149258ff84ac2a6532c26e9ffb076183a9;p=yosys.git equiv_opt with -assert --- diff --git a/tests/ecp5/fsm.ys b/tests/ecp5/fsm.ys index 36b10c0ce..6368edc57 100644 --- a/tests/ecp5/fsm.ys +++ b/tests/ecp5/fsm.ys @@ -2,9 +2,7 @@ read_verilog fsm.v hierarchy -top top proc flatten -#ERROR: Found 4 unproven $equiv cells in 'equiv_status -assert'. -#equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check -equiv_opt -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check +equiv_opt -assert -map +/ecp5/cells_sim.v synth_ecp5 # equivalency check design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design) cd top # Constrain all select calls below inside the top module select -assert-count 1 t:L6MUX21