aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/globals.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-15 21:28:48 +0100
committergatecat <gatecat@ds0.me>2021-05-15 21:28:48 +0100
commit9d7f90dd89d98457e00579615ef9251d0f69f3a4 (patch)
tree8748a12e0f510d18f7a70b51a562f662206c0c3a /mistral/globals.cc
parent6cef569155b5934893109d4ae509c94bdd1dc16a (diff)
downloadnextpnr-9d7f90dd89d98457e00579615ef9251d0f69f3a4.tar.gz
nextpnr-9d7f90dd89d98457e00579615ef9251d0f69f3a4.tar.bz2
nextpnr-9d7f90dd89d98457e00579615ef9251d0f69f3a4.zip
mistral: Add MISTRAL_CLKBUF cell type
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'mistral/globals.cc')
-rw-r--r--mistral/globals.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/mistral/globals.cc b/mistral/globals.cc
index 9cbabbca..3203893b 100644
--- a/mistral/globals.cc
+++ b/mistral/globals.cc
@@ -38,4 +38,9 @@ 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;
+}
+
NEXTPNR_NAMESPACE_END