diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-12-16 15:54:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-16 15:54:26 +0100 |
commit | 2a681909dff173f63659d7c882137e53ad768ce8 (patch) | |
tree | b0e51b09eb3ce4f1ad3e071b25bae4f43619f55e /tests/lut/check_map.ys | |
parent | a2154c1be0842541d04e2d9e0ebac9ccb3b472be (diff) | |
parent | 7ff5a9db2d17c384260c2220c9205a7b4891f001 (diff) | |
download | yosys-2a681909dff173f63659d7c882137e53ad768ce8.tar.gz yosys-2a681909dff173f63659d7c882137e53ad768ce8.tar.bz2 yosys-2a681909dff173f63659d7c882137e53ad768ce8.zip |
Merge pull request #724 from whitequark/equiv_opt
equiv_opt: new command, for verifying optimization passes
Diffstat (limited to 'tests/lut/check_map.ys')
-rw-r--r-- | tests/lut/check_map.ys | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/lut/check_map.ys b/tests/lut/check_map.ys index 6d659891f..dc0aaffc2 100644 --- a/tests/lut/check_map.ys +++ b/tests/lut/check_map.ys @@ -1,13 +1,4 @@ -design -save preopt - simplemap -techmap -map +/gate2lut.v -D LUT_WIDTH=4 +equiv_opt -assert techmap -map +/gate2lut.v -D LUT_WIDTH=4 +design -load postopt select -assert-count 1 t:$lut -design -stash postopt - -design -copy-from preopt -as preopt top -design -copy-from postopt -as postopt top -equiv_make preopt postopt equiv -prep -flatten -top equiv -equiv_induct -equiv_status -assert |