diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-05-12 15:40:13 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-05-12 15:40:13 -0700 |
commit | 4ecae8a6735f71e0dd9e3cc8eb0e7855299a78bc (patch) | |
tree | 1adb9c79d5843259964e045a30251b7fb1de9a18 | |
parent | 95fb3cf487544068bc36207d5250a8bcd4386115 (diff) | |
download | yosys-4ecae8a6735f71e0dd9e3cc8eb0e7855299a78bc.tar.gz yosys-4ecae8a6735f71e0dd9e3cc8eb0e7855299a78bc.tar.bz2 yosys-4ecae8a6735f71e0dd9e3cc8eb0e7855299a78bc.zip |
ice40: fix whitespace
-rw-r--r-- | techlibs/ice40/synth_ice40.cc | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index 2b211572d..6e05ab0b2 100644 --- a/techlibs/ice40/synth_ice40.cc +++ b/techlibs/ice40/synth_ice40.cc @@ -225,10 +225,10 @@ struct SynthIce40Pass : public ScriptPass device_opt = args[++argidx]; continue; } - if (args[argidx] == "-flowmap") { - flowmap = true; - continue; - } + if (args[argidx] == "-flowmap") { + flowmap = true; + continue; + } break; } extra_args(args, argidx, design); @@ -240,13 +240,12 @@ struct SynthIce40Pass : public ScriptPass if (abc9 && retime) log_cmd_error("-retime option not currently compatible with -abc9!\n"); - - if (abc9 && noabc) - log_cmd_error("-abc9 is incompatible with -noabc!\n"); - if (abc9 && flowmap) - log_cmd_error("-abc9 is incompatible with -flowmap!\n"); - if (flowmap && noabc) - log_cmd_error("-flowmap is incompatible with -noabc!\n"); + if (abc9 && noabc) + log_cmd_error("-abc9 is incompatible with -noabc!\n"); + if (abc9 && flowmap) + log_cmd_error("-abc9 is incompatible with -flowmap!\n"); + if (flowmap && noabc) + log_cmd_error("-flowmap is incompatible with -noabc!\n"); log_header(design, "Executing SYNTH_ICE40 pass.\n"); log_push(); @@ -372,10 +371,10 @@ struct SynthIce40Pass : public ScriptPass run("techmap -map +/ice40/latches_map.v"); if (noabc || flowmap || help_mode) { run("simplemap", " (if -noabc or -flowmap)"); - if (noabc || help_mode) - run("techmap -map +/gate2lut.v -D LUT_WIDTH=4", "(only if -noabc)"); - if (flowmap || help_mode) - run("flowmap -maxlut 4", "(only if -flowmap)"); + if (noabc || help_mode) + run("techmap -map +/gate2lut.v -D LUT_WIDTH=4", "(only if -noabc)"); + if (flowmap || help_mode) + run("flowmap -maxlut 4", "(only if -flowmap)"); } if (!noabc) { if (abc9) { |