mirror of https://github.com/YosysHQ/yosys.git
tests: opt_expr update xnor/xor tests
This commit is contained in:
parent
83570bc0da
commit
ebd6fa945d
|
@ -56,7 +56,7 @@ copy gold fine_keepdc
|
||||||
|
|
||||||
cd coarse
|
cd coarse
|
||||||
opt_expr -fine
|
opt_expr -fine
|
||||||
select -assert-count 1 t:$xnor # FIXME: Should be zero
|
select -assert-none t:$xnor
|
||||||
|
|
||||||
cd fine
|
cd fine
|
||||||
simplemap
|
simplemap
|
||||||
|
@ -71,12 +71,12 @@ sat -verify -prove-asserts -show-ports -enable_undef miter2
|
||||||
|
|
||||||
cd coarse_keepdc
|
cd coarse_keepdc
|
||||||
opt_expr -keepdc -fine
|
opt_expr -keepdc -fine
|
||||||
select -assert-count 2 t:$xnor $ FIXME: Should be one
|
select -assert-count 1 t:$xnor
|
||||||
|
|
||||||
cd fine_keepdc
|
cd fine_keepdc
|
||||||
simplemap
|
simplemap
|
||||||
opt_expr -keepdc
|
opt_expr -keepdc
|
||||||
select -assert-count t c:$_XOR_
|
select -assert-count 0 c:$_XOR_
|
||||||
|
|
||||||
cd
|
cd
|
||||||
miter -equiv -flatten -make_assert -make_outputs gold coarse_keepdc miter3
|
miter -equiv -flatten -make_assert -make_outputs gold coarse_keepdc miter3
|
||||||
|
|
|
@ -111,7 +111,7 @@ copy gold fine_keepdc
|
||||||
|
|
||||||
cd coarse
|
cd coarse
|
||||||
opt_expr -fine
|
opt_expr -fine
|
||||||
select -assert-count 1 t:$xor # FIXME: Should be zero
|
select -assert-count 0 t:$xor
|
||||||
|
|
||||||
cd fine
|
cd fine
|
||||||
simplemap
|
simplemap
|
||||||
|
@ -126,13 +126,12 @@ sat -verify -prove-asserts -show-ports -enable_undef miter2
|
||||||
|
|
||||||
cd coarse_keepdc
|
cd coarse_keepdc
|
||||||
opt_expr -keepdc -fine
|
opt_expr -keepdc -fine
|
||||||
dump
|
select -assert-count 1 t:$xor
|
||||||
select -assert-count 2 t:$xor $ FIXME: Should be one
|
|
||||||
|
|
||||||
cd fine_keepdc
|
cd fine_keepdc
|
||||||
simplemap
|
simplemap
|
||||||
opt_expr -keepdc
|
opt_expr -keepdc
|
||||||
select -assert-count t c:$_XOR_
|
select -assert-count 3 t:$_XOR_
|
||||||
|
|
||||||
cd
|
cd
|
||||||
miter -equiv -flatten -make_assert -make_outputs gold coarse_keepdc miter3
|
miter -equiv -flatten -make_assert -make_outputs gold coarse_keepdc miter3
|
||||||
|
|
Loading…
Reference in New Issue