Fix unresolved conflict from #1573
authorEddie Hung <eddie@fpgeh.com>
Tue, 28 Jan 2020 18:17:47 +0000 (10:17 -0800)
committerEddie Hung <eddie@fpgeh.com>
Tue, 28 Jan 2020 18:17:47 +0000 (10:17 -0800)
techlibs/xilinx/synth_xilinx.cc

index 5ba8c0e101912dbac8b21b9801fef1d721a437ce..3c5599e4e523837ca6ecf81c16b97342b011ab86 100644 (file)
@@ -318,7 +318,7 @@ struct SynthXilinxPass : public ScriptPass
                                run("flatten", "(with '-flatten')");
                        active_design->scratchpad_unset("tribuf.added_something");
                        run("tribuf -logic");
-                       if (!do_iopad && active_design->scratchpad_get_bool("tribuf.added_something"))
+                       if (noiopad && active_design->scratchpad_get_bool("tribuf.added_something"))
                                log_error("Tristate buffers are unsupported without the '-iopad' option.\n");
                        run("deminout");
                        run("opt_expr");