Fix typo in check_label()
authorEddie Hung <eddie@fpgeh.com>
Sat, 5 Oct 2019 04:43:15 +0000 (21:43 -0700)
committerEddie Hung <eddie@fpgeh.com>
Sat, 5 Oct 2019 04:43:50 +0000 (21:43 -0700)
techlibs/xilinx/synth_xilinx.cc

index 1cddd2a921bb6eedaba1235ed8416db13c039d67..41429b3383ac6fb481e3b0a22a9010f82762b40b 100644 (file)
@@ -339,7 +339,7 @@ struct SynthXilinxPass : public ScriptPass
                        run("techmap -map +/cmp2lut.v -D LUT_WIDTH=6");
                }
 
-               if (check_label("map_dsp"), "(skip if '-nodsp')") {
+               if (check_label("map_dsp", "(skip if '-nodsp')")) {
                        if (!nodsp || help_mode) {
                                // NB: Xilinx multipliers are signed only
                                run("techmap -map +/mul2dsp.v -map +/xilinx/dsp_map.v -D DSP_A_MAXWIDTH=25 -D DSP_A_MAXWIDTH_PARTIAL=18 -D DSP_B_MAXWIDTH=18 "