aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/archdefs.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-24 14:02:21 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-26 11:01:22 -0800
commitcfa449c3f3c5b151eb11ef79bc2cf571e98bbbed (patch)
tree38d78928c17745e07689a9d6d4bfdfcdf4e36b1f /fpga_interchange/archdefs.h
parent9cbfd0b967f5804472afbb91d8df92e69dffe659 (diff)
downloadnextpnr-cfa449c3f3c5b151eb11ef79bc2cf571e98bbbed.tar.gz
nextpnr-cfa449c3f3c5b151eb11ef79bc2cf571e98bbbed.tar.bz2
nextpnr-cfa449c3f3c5b151eb11ef79bc2cf571e98bbbed.zip
Initial LUT rotation logic.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/archdefs.h')
-rw-r--r--fpga_interchange/archdefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpga_interchange/archdefs.h b/fpga_interchange/archdefs.h
index 33d999bb..e355a6c4 100644
--- a/fpga_interchange/archdefs.h
+++ b/fpga_interchange/archdefs.h
@@ -22,6 +22,8 @@
#error Include "archdefs.h" via "nextpnr.h" only.
#endif
+#include "luts.h"
+
NEXTPNR_NAMESPACE_BEGIN
#include <cstdint>
@@ -107,6 +109,7 @@ struct ArchCellInfo
int32_t cell_mapping;
std::unordered_map<IdString, std::vector<IdString>> cell_bel_pins;
std::unordered_set<IdString> const_ports;
+ LutCell lut_cell;
};
NEXTPNR_NAMESPACE_END