aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/arch.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-08-24 18:25:44 +0100
committerGitHub <noreply@github.com>2021-08-24 18:25:44 +0100
commit6fc41692d689beda2f142ab039d7fa8d2517bebe (patch)
tree24071ec2c9a9d0921ae91e781a36b814a4e601e7 /mistral/arch.cc
parente15f0db4084cce19a77d813b2a9d6b665bd4217a (diff)
parent0367719eea074bf4043c4baf3782c772d8c101ae (diff)
downloadnextpnr-6fc41692d689beda2f142ab039d7fa8d2517bebe.tar.gz
nextpnr-6fc41692d689beda2f142ab039d7fa8d2517bebe.tar.bz2
nextpnr-6fc41692d689beda2f142ab039d7fa8d2517bebe.zip
Merge pull request #710 from Ravenslofty/mistral-mlab-as-lab
mistral: Use MLABs as if they're LABs (for now)
Diffstat (limited to 'mistral/arch.cc')
-rw-r--r--mistral/arch.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/mistral/arch.cc b/mistral/arch.cc
index ba7483e7..045625a3 100644
--- a/mistral/arch.cc
+++ b/mistral/arch.cc
@@ -71,7 +71,10 @@ Arch::Arch(ArchArgs args)
for (CycloneV::block_type_t bel : cyclonev->pos_get_bels(pos)) {
switch (bel) {
case CycloneV::block_type_t::LAB:
- create_lab(x, y);
+ create_lab(x, y, /*is_mlab=*/false);
+ break;
+ case CycloneV::block_type_t::MLAB:
+ create_lab(x, y, /*is_mlab=*/true);
break;
default:
continue;