diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-16 09:45:43 -0800 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-17 12:03:16 -0800 |
commit | c385321248c2bd181d42b7ce7a2f60baa365aa8d (patch) | |
tree | dfa19555d2bee253f20aff2b34cfdbe0bf624719 /fpga_interchange/arch.cc | |
parent | a7421399f776ed9aebfa7b940bbaf5f327244f17 (diff) | |
download | nextpnr-c385321248c2bd181d42b7ce7a2f60baa365aa8d.tar.gz nextpnr-c385321248c2bd181d42b7ce7a2f60baa365aa8d.tar.bz2 nextpnr-c385321248c2bd181d42b7ce7a2f60baa365aa8d.zip |
Add initial site router.
This site router likely cannot handle the full problem space. It may
need to be replaced with a more generalize approach as testing
continues.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/arch.cc')
-rw-r--r-- | fpga_interchange/arch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/arch.cc b/fpga_interchange/arch.cc index 41659861..58fa3c85 100644 --- a/fpga_interchange/arch.cc +++ b/fpga_interchange/arch.cc @@ -161,7 +161,7 @@ Arch::Arch(ArchArgs args) : args(args) for (const TileTypeInfoPOD &tile_type : chip_info->tile_types) { max_tag_count = std::max(max_tag_count, tile_type.tags.size()); - auto &type_definition = constraints.definitions[tile_type_index]; + auto &type_definition = constraints.definitions[tile_type_index++]; for (const ConstraintTagPOD &tag : tile_type.tags) { type_definition.emplace_back(); auto &definition = type_definition.back(); |