aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/arch.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-04-02 16:21:41 -0700
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-04-06 10:42:05 -0700
commit3200026e1f3b305d0d2e0d680eb9df94b9b326b8 (patch)
treeb379fb68eef47c371629dd17b5805e6ee32769ba /fpga_interchange/arch.h
parentc2a6f6ce62b810b3250167052bf5559d1dae4130 (diff)
downloadnextpnr-3200026e1f3b305d0d2e0d680eb9df94b9b326b8.tar.gz
nextpnr-3200026e1f3b305d0d2e0d680eb9df94b9b326b8.tar.bz2
nextpnr-3200026e1f3b305d0d2e0d680eb9df94b9b326b8.zip
[interchange] Remove requirement to have wire_lut.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/arch.h')
-rw-r--r--fpga_interchange/arch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpga_interchange/arch.h b/fpga_interchange/arch.h
index a6ea70d8..e9c2802a 100644
--- a/fpga_interchange/arch.h
+++ b/fpga_interchange/arch.h
@@ -1065,6 +1065,9 @@ struct Arch : ArchAPI<ArchRanges>
std::unordered_map<IdString, const LutCellPOD *> lut_cells;
// Of the LUT cells, which is used for wires?
+ // Note: May be null in arch's without wire LUT types. Assumption is
+ // that these arch's don't need wire LUT's because the LUT share is simple
+ // enough to avoid it.
const LutCellPOD * wire_lut;
std::regex raw_bin_constant;