diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-07-18 13:29:58 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-07-18 13:29:58 +0200 |
commit | 609794f9e6561fec1324ee554d85742e13e3d513 (patch) | |
tree | 8df8370dc52fd6bdbdba5385b27e76d5f25322ef | |
parent | d392b5f63587339c27a30c247f4a045f923edc4b (diff) | |
download | nextpnr-609794f9e6561fec1324ee554d85742e13e3d513.tar.gz nextpnr-609794f9e6561fec1324ee554d85742e13e3d513.tar.bz2 nextpnr-609794f9e6561fec1324ee554d85742e13e3d513.zip |
Add Net/Cell "udata" field
Signed-off-by: Clifford Wolf <clifford@clifford.at>
-rw-r--r-- | common/nextpnr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index 3d0cc955..f808faf8 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -203,6 +203,8 @@ struct PipMap struct NetInfo : ArchNetInfo { IdString name; + int32_t udata; + PortRef driver; std::vector<PortRef> users; std::unordered_map<IdString, std::string> attrs; @@ -228,6 +230,8 @@ struct PortInfo struct CellInfo : ArchCellInfo { IdString name, type; + int32_t udata; + std::unordered_map<IdString, PortInfo> ports; std::unordered_map<IdString, std::string> attrs, params; |