3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

glift: Add -create-imprecise command, rename other commands, and re-work the help text.

This commit is contained in:
Alberto Gonzalez 2020-04-28 06:13:12 +00:00
parent ca3844d44e
commit ddfb9f08e2
No known key found for this signature in database
GPG key ID: 8395A8BA109708B2
10 changed files with 67 additions and 40 deletions

View file

@ -2,7 +2,7 @@ read_verilog C7552.v
techmap
flatten
select C7552_lev2
glift -optimize-precise
glift -create-sketch
techmap
opt
rename C7552_lev2 uut

View file

@ -2,7 +2,7 @@ read_verilog C880.v
techmap
flatten
select C880_lev2
glift -optimize-precise
glift -create-sketch
techmap
opt
rename C880_lev2 uut

View file

@ -2,7 +2,7 @@ read_verilog alu2.v
techmap
flatten
select alu2_lev2
glift -optimize-precise
glift -create-sketch
techmap
opt
rename alu2_lev2 uut

View file

@ -2,7 +2,7 @@ read_verilog alu4.v
techmap
flatten
select alu4_lev2
glift -optimize-precise
glift -create-sketch
techmap
opt
rename alu4_lev2 uut

View file

@ -18,18 +18,19 @@ module mux2(a, b, s, y);
endmodule
EOT
techmap
copy mux2 uut
copy mux2 spec
copy mux2 uut
copy mux2 solved
delete mux2
glift -optimize-precise uut
glift -create-precise spec
glift -create-sketch uut
glift -create-sketch -no-cost-model solved
design -push-copy
miter -equiv spec uut qbfmiter
flatten
delete spec uut
delete spec uut solved
qbfsat -assume-outputs -assume-negative-polarity -write-solution mux2.soln qbfmiter
design -pop
copy uut solved
qbfsat -specialize-from-file mux2.soln solved
opt
miter -equiv spec solved proofmiter

View file

@ -2,7 +2,7 @@ read_verilog t481.v
techmap
flatten
select t481_lev2
glift -optimize-precise
glift -create-sketch
techmap
opt
rename t481_lev2 uut

View file

@ -2,7 +2,7 @@ read_verilog too_large.v
techmap
flatten
select too_large_lev2
glift -optimize-precise
glift -create-sketch
techmap
opt
rename too_large_lev2 uut

View file

@ -2,7 +2,7 @@ read_verilog ttt2.v
techmap
flatten
select ttt2_lev2
glift -optimize-precise
glift -create-sketch
techmap
opt
rename ttt2_lev2 uut

View file

@ -2,7 +2,7 @@ read_verilog x1.v
techmap
flatten
select x1_lev2
glift -optimize-precise
glift -create-sketch
techmap
opt
rename x1_lev2 uut