diff options
author | gatecat <gatecat@ds0.me> | 2021-08-24 18:25:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 18:25:44 +0100 |
commit | 6fc41692d689beda2f142ab039d7fa8d2517bebe (patch) | |
tree | 24071ec2c9a9d0921ae91e781a36b814a4e601e7 /mistral/arch.h | |
parent | e15f0db4084cce19a77d813b2a9d6b665bd4217a (diff) | |
parent | 0367719eea074bf4043c4baf3782c772d8c101ae (diff) | |
download | nextpnr-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.h')
-rw-r--r-- | mistral/arch.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mistral/arch.h b/mistral/arch.h index c13c4c8a..a808f69d 100644 --- a/mistral/arch.h +++ b/mistral/arch.h @@ -58,6 +58,8 @@ struct ALMInfo struct LABInfo { + // LAB or MLAB? + bool is_mlab; std::array<ALMInfo, 10> alms; // Control set wires std::array<WireId, 3> clk_wires, ena_wires; @@ -457,9 +459,9 @@ struct Arch : BaseArch<ArchRanges> return WireId(cyclonev->pnode_to_rnode(CycloneV::pnode(bt, x, y, port, bi, pi))); } - void create_lab(int x, int y); // lab.cc - void create_gpio(int x, int y); // io.cc - void create_clkbuf(int x, int y); // globals.cc + void create_lab(int x, int y, bool is_mlab); // lab.cc + void create_gpio(int x, int y); // io.cc + void create_clkbuf(int x, int y); // globals.cc // ------------------------------------------------- |