mirror of https://github.com/YosysHQ/yosys.git
Apply suggestions from code review
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
c1557950ef
commit
54a1862fbe
|
|
@ -133,7 +133,7 @@ select -assert-count 1 t:$sub
|
||||||
design -reset
|
design -reset
|
||||||
log -pop
|
log -pop
|
||||||
|
|
||||||
log -header "Signed pattern transformed: (a +- b) +- c case 3"
|
log -header "Signed pattern transformed: (a +- b) +- c case 4"
|
||||||
log -push
|
log -push
|
||||||
read_verilog <<EOT
|
read_verilog <<EOT
|
||||||
module top(
|
module top(
|
||||||
|
|
@ -753,7 +753,7 @@ check -assert
|
||||||
equiv_opt -assert peepopt
|
equiv_opt -assert peepopt
|
||||||
design -load postopt
|
design -load postopt
|
||||||
# The optimization actually works on multiple levels
|
# The optimization actually works on multiple levels
|
||||||
select t:$add -assert-count 1 // Optimizes to single add (a + 18)
|
select t:$add -assert-count 1 # Optimizes to single add (a + 18)
|
||||||
select t:$sub -assert-count 0
|
select t:$sub -assert-count 0
|
||||||
design -reset
|
design -reset
|
||||||
log -pop
|
log -pop
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue