From 91ca5f110bdea0dbf1b6183d8129c3ea7b0c71c6 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Wed, 24 Mar 2021 16:25:15 -0700 Subject: Re-work LUT mapping logic to only put VCC pins when required. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- fpga_interchange/luts.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fpga_interchange/luts.h') 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 cells; bool remap_luts(const Context *ctx); + uint32_t check_wires(const std::vector> &bel_to_cell_pin_remaps, + const std::vector &lut_bels, uint32_t used_pins) const; }; // Rotate and merge a LUT equation into an array of levels. -- cgit v1.2.3