Use techmap -share_map in btor scripts
authorClifford Wolf <clifford@clifford.at>
Fri, 24 Jan 2014 14:52:16 +0000 (15:52 +0100)
committerClifford Wolf <clifford@clifford.at>
Fri, 24 Jan 2014 14:52:16 +0000 (15:52 +0100)
backends/btor/btor.ys
backends/btor/verilog2btor.sh

index 7f3882b571f820de62578d346745509a458e4fb5..20bce87e101c561783e56f82af659fbd6cd6de79 100644 (file)
@@ -2,7 +2,7 @@ proc;
 opt; opt_const -mux_undef; opt;
 rename -hide;;;
 #converting pmux to mux
-techmap -map techlibs/common/pmux2mux.v;;
+techmap -share_map pmux2mux.v;;
 memory -nomap;;
 #flatten design
 flatten;;
index ef0134e07d59730b923efd8496ab86c746222fd0..a2f9ebc7ef8ab93a667e28564d4046693a7f17e9 100755 (executable)
@@ -24,7 +24,7 @@ hierarchy -check;
 proc; 
 opt; opt_const -mux_undef; opt;
 rename -hide;;;
-techmap -map $YOSYS_HOME/techlibs/common/pmux2mux.v;;
+techmap -share_map pmux2mux.v;;
 memory -nomap;;
 flatten;;
 memory_unpack;