aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backends/btor/btor.ys2
-rwxr-xr-xbackends/btor/verilog2btor.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/btor/btor.ys b/backends/btor/btor.ys
index 7f3882b57..20bce87e1 100644
--- a/backends/btor/btor.ys
+++ b/backends/btor/btor.ys
@@ -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;;
diff --git a/backends/btor/verilog2btor.sh b/backends/btor/verilog2btor.sh
index ef0134e07..a2f9ebc7e 100755
--- a/backends/btor/verilog2btor.sh
+++ b/backends/btor/verilog2btor.sh
@@ -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;