aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-09 14:28:56 +0100
committergatecat <gatecat@ds0.me>2021-05-15 14:54:33 +0100
commit2612853238af4c84fa38c1c5e349fa19c5c51ebe (patch)
tree206bdf076e015ca3ab009ec0ecb91e29e567cebe /mistral/arch.h
parent5d191f8297e338e5ac678bdbdfcb176a2a7a8cc3 (diff)
downloadnextpnr-2612853238af4c84fa38c1c5e349fa19c5c51ebe.tar.gz
nextpnr-2612853238af4c84fa38c1c5e349fa19c5c51ebe.tar.bz2
nextpnr-2612853238af4c84fa38c1c5e349fa19c5c51ebe.zip
mistral: Adding a function for computing ALM LUT masks
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'mistral/arch.h')
-rw-r--r--mistral/arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mistral/arch.h b/mistral/arch.h
index 790c6782..868d8650 100644
--- a/mistral/arch.h
+++ b/mistral/arch.h
@@ -403,6 +403,8 @@ struct Arch : BaseArch<ArchRanges>
void assign_control_sets(uint32_t lab); // lab.cc
void reassign_alm_inputs(uint32_t lab, uint8_t alm); // lab.cc
+ uint64_t compute_lut_mask(uint32_t lab, uint8_t alm); // lab.cc
+
// -------------------------------------------------
bool is_io_cell(IdString cell_type) const; // io.cc