intel_synth: Minor code cleanups
authorBen Widawsky <ben@bwidawsk.net>
Mon, 8 Jul 2019 19:03:00 +0000 (12:03 -0700)
committerDan Ravensloft <dan.ravensloft@gmail.com>
Thu, 18 Jul 2019 16:05:54 +0000 (17:05 +0100)
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
techlibs/intel/synth_intel.cc

index 09c9ba3afc90d72f50b0ada768a981e142119cf7..69f3b633489f0ff3e52cf7281f7dd4d32b829ac5 100644 (file)
@@ -147,8 +147,12 @@ struct SynthIntelPass : public ScriptPass {
 
                if (!design->full_selection())
                        log_cmd_error("This command only operates on fully selected designs!\n");
-               if (family_opt != "max10" && family_opt != "a10gx" && family_opt != "cyclonev" && family_opt != "cycloneiv" &&
-                   family_opt != "cycloneive" && family_opt != "cyclone10")
+               if (family_opt != "max10" &&
+                   family_opt != "a10gx" &&
+                   family_opt != "cyclonev" &&
+                   family_opt != "cycloneiv" &&
+                   family_opt != "cycloneive" &&
+                   family_opt != "cyclone10")
                        log_cmd_error("Invalid or not family specified: '%s'\n", family_opt.c_str());
 
                log_header(design, "Executing SYNTH_INTEL pass.\n");