projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d07d83
)
minor change in script
author
Ahmed Irfan
<irfan@ubuntu.(none)>
Fri, 24 Jan 2014 14:00:43 +0000
(15:00 +0100)
committer
Ahmed Irfan
<irfan@ubuntu.(none)>
Fri, 24 Jan 2014 14:00:43 +0000
(15:00 +0100)
verilog2btor.sh
patch
|
blob
|
history
diff --git
a/verilog2btor.sh
b/verilog2btor.sh
index e01d15084c635c24a174646d536e32ad1b994bc9..ef0134e07d59730b923efd8496ab86c746222fd0 100755
(executable)
--- a/
verilog2btor.sh
+++ b/
verilog2btor.sh
@@
-16,11
+16,20
@@
fi
FULL_PATH=$(readlink -f $1)
DIR=$(dirname $FULL_PATH)
-./yosys -p "
+./yosys -
q -
p "
read_verilog $1;
hierarchy -top $3;
hierarchy -libdir $DIR;
hierarchy -check;
-script btor.ys;
+proc;
+opt; opt_const -mux_undef; opt;
+rename -hide;;;
+techmap -map $YOSYS_HOME/techlibs/common/pmux2mux.v;;
+memory -nomap;;
+flatten;;
+memory_unpack;
+splitnets -driver;
+setundef -zero -undriven;
+opt;;;
write_btor $2;"