Merge branch 'ZirconiumX-synth_intel_m9k'
authorClifford Wolf <clifford@clifford.at>
Thu, 25 Jul 2019 15:23:48 +0000 (17:23 +0200)
committerClifford Wolf <clifford@clifford.at>
Thu, 25 Jul 2019 15:23:48 +0000 (17:23 +0200)
1  2 
techlibs/intel/synth_intel.cc

index 539ba379f0eb44acda24e0261896b2aafb7d071f,87d83f0db1325f825cce2880ea47b82c66b22614..e5dc1adc753029548b85b3291b69fa5bcaee2764
@@@ -215,10 -222,10 +222,9 @@@ struct SynthIntelPass : public ScriptPa
                }
  
                if (check_label("map_cells")) {
 -                      if (!noiopads)
 -                              run("iopadmap -bits -outpad $__outpad I:O -inpad $__inpad O:I", "(unless -noiopads)");
 -                      run(stringf("techmap -map +/intel/%s/cells_map.v", family_opt.c_str()));
 -
 +                      if (iopads || help_mode)
 +                              run("iopadmap -bits -outpad $__outpad I:O -inpad $__inpad O:I", "(if -iopads)");
 +                        run(stringf("techmap -map +/intel/%s/cells_map.v", family_opt.c_str()));
                        run("dffinit -highlow -ff dffeas q power_up");
                        run("clean -purge");
                }