From fc0b5d5ab6bcbb6cc5fcacab479504c08ab80d23 Mon Sep 17 00:00:00 2001
From: Eddie Hung <eddie@fpgeh.com>
Date: Thu, 1 Aug 2019 12:45:14 -0700
Subject: [PATCH] Change $__softmul back to $mul

---
 techlibs/xilinx/synth_xilinx.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc
index e5a27015a..a787c7c4c 100644
--- a/techlibs/xilinx/synth_xilinx.cc
+++ b/techlibs/xilinx/synth_xilinx.cc
@@ -334,6 +334,7 @@ struct SynthXilinxPass : public ScriptPass
 			if (help_mode || !nodsp) {
 				run("techmap -map +/xilinx/dsp_map.v", "(skip if '-nodsp')");
 				run("xilinx_dsp", "                     (skip if '-nodsp')");
+				run("chtype -set $mul t:$__soft_mul","  (skip if '-nodsp')");
 			}
 			if (help_mode) {
 				run("simplemap t:$mux", "         ('-widemux' only)");