aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/globals.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mistral/globals.cc')
-rw-r--r--mistral/globals.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/mistral/globals.cc b/mistral/globals.cc
index 6af8920d..bdd835a7 100644
--- a/mistral/globals.cc
+++ b/mistral/globals.cc
@@ -38,10 +38,7 @@ void Arch::create_clkbuf(int x, int y)
}
}
-bool Arch::is_clkbuf_cell(IdString cell_type) const
-{
- return cell_type == id_MISTRAL_CLKENA || cell_type == id_MISTRAL_CLKBUF;
-}
+bool Arch::is_clkbuf_cell(IdString cell_type) const { return cell_type.in(id_MISTRAL_CLKENA, id_MISTRAL_CLKBUF); }
void Arch::create_hps_mpu_general_purpose(int x, int y)
{