modified btor synthesis script for correct use of splice command.
authorAhmed Irfan <irfan@ubuntu.(none)>
Wed, 12 Feb 2014 12:38:28 +0000 (13:38 +0100)
committerAhmed Irfan <irfan@ubuntu.(none)>
Wed, 12 Feb 2014 12:38:28 +0000 (13:38 +0100)
backends/btor/btor.ys
backends/btor/verilog2btor.sh

index bcfd65cdd90adf8d607d216aa8617c4c97725494..ec28245d340ce860143f9c0b15b090efa10a73cb 100644 (file)
@@ -1,10 +1,11 @@
 proc; 
-opt; opt_const -mux_undef; 
-#splice; 
-opt;
+opt; opt_const -mux_undef; opt;
 rename -hide;;;
 #converting pmux to mux
 techmap -share_map pmux2mux.v;;
+#explicit type conversion
+splice; opt;
+#extracting memories;
 memory_dff -wr_only; memory_collect;;
 #flatten design
 flatten;;
index 972b8dfbe99ef261922bbc209bac1d2cb9455602..870f0a28d15ba478d6c7e6556bf7465358bfe452 100755 (executable)
@@ -22,11 +22,10 @@ hierarchy -top $3;
 hierarchy -libdir $DIR; 
 hierarchy -check; 
 proc; 
-opt; opt_const -mux_undef; 
-#splice; 
-opt;
+opt; opt_const -mux_undef; opt;
 rename -hide;;;
 techmap -share_map pmux2mux.v;;
+splice; opt;
 memory_dff -wr_only;
 memory_collect;;
 flatten;;