minor change in script
authorAhmed Irfan <irfan@ubuntu.(none)>
Fri, 24 Jan 2014 14:00:43 +0000 (15:00 +0100)
committerAhmed Irfan <irfan@ubuntu.(none)>
Fri, 24 Jan 2014 14:00:43 +0000 (15:00 +0100)
verilog2btor.sh

index e01d15084c635c24a174646d536e32ad1b994bc9..ef0134e07d59730b923efd8496ab86c746222fd0 100755 (executable)
@@ -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;"