diff options
Diffstat (limited to 'common/nextpnr_types.h')
-rw-r--r-- | common/nextpnr_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/nextpnr_types.h b/common/nextpnr_types.h index 4e5432ce..c21182cc 100644 --- a/common/nextpnr_types.h +++ b/common/nextpnr_types.h @@ -130,7 +130,7 @@ struct NetInfo : ArchNetInfo int32_t udata = 0; PortRef driver; - std::vector<PortRef> users; + indexed_store<PortRef> users; dict<IdString, Property> attrs; // wire -> uphill_pip @@ -155,6 +155,7 @@ struct PortInfo IdString name; NetInfo *net; PortType type; + store_index<PortRef> user_idx{}; }; struct Context; |