aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/luts.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-24 16:25:15 -0700
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-25 17:20:13 -0700
commit91ca5f110bdea0dbf1b6183d8129c3ea7b0c71c6 (patch)
treeab411c5dfb8543540da838991a454807670d96eb /fpga_interchange/luts.h
parent5dda3a14ffd962407217cff4bb2859bebc503b8b (diff)
downloadnextpnr-91ca5f110bdea0dbf1b6183d8129c3ea7b0c71c6.tar.gz
nextpnr-91ca5f110bdea0dbf1b6183d8129c3ea7b0c71c6.tar.bz2
nextpnr-91ca5f110bdea0dbf1b6183d8129c3ea7b0c71c6.zip
Re-work LUT mapping logic to only put VCC pins when required.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/luts.h')
-rw-r--r--fpga_interchange/luts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fpga_interchange/luts.h b/fpga_interchange/luts.h
index 3500c9d3..dec5a9d6 100644
--- a/fpga_interchange/luts.h
+++ b/fpga_interchange/luts.h
@@ -88,6 +88,8 @@ struct LutMapper
std::vector<CellInfo *> cells;
bool remap_luts(const Context *ctx);
+ uint32_t check_wires(const std::vector<std::vector<int32_t>> &bel_to_cell_pin_remaps,
+ const std::vector<const LutBel *> &lut_bels, uint32_t used_pins) const;
};
// Rotate and merge a LUT equation into an array of levels.