diff options
author | David Shah <dave@ds0.me> | 2020-11-10 10:09:08 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2020-11-30 08:45:28 +0000 |
commit | 6457b4ca7b90c59a886ed623d321504131ebeeb6 (patch) | |
tree | de337636a3604a8345bc2f958bf3192c6ae71826 /nexus/arch.h | |
parent | fa9194e3e2212ef265b94b1be58da7c59d9a0bbf (diff) | |
download | nextpnr-6457b4ca7b90c59a886ed623d321504131ebeeb6.tar.gz nextpnr-6457b4ca7b90c59a886ed623d321504131ebeeb6.tar.bz2 nextpnr-6457b4ca7b90c59a886ed623d321504131ebeeb6.zip |
nexus: Swap sort order to make some lookups easier
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'nexus/arch.h')
-rw-r--r-- | nexus/arch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nexus/arch.h b/nexus/arch.h index 2d68ebeb..cbe39316 100644 --- a/nexus/arch.h +++ b/nexus/arch.h @@ -276,7 +276,7 @@ NPNR_PACKED_STRUCT(struct IdStringDBPOD { // Timing structures are generally sorted using IdString indices as keys for fast binary searches // All delays are integer picoseconds -// Sort key: (from_port, to_port) for binary search by IdString +// Sort key: (to_port, from_port) for binary search by IdString NPNR_PACKED_STRUCT(struct CellPropDelayPOD { int32_t from_port; int32_t to_port; |