aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-07-18 13:29:58 +0200
committerClifford Wolf <clifford@clifford.at>2018-07-18 13:29:58 +0200
commit609794f9e6561fec1324ee554d85742e13e3d513 (patch)
tree8df8370dc52fd6bdbdba5385b27e76d5f25322ef /common
parentd392b5f63587339c27a30c247f4a045f923edc4b (diff)
downloadnextpnr-609794f9e6561fec1324ee554d85742e13e3d513.tar.gz
nextpnr-609794f9e6561fec1324ee554d85742e13e3d513.tar.bz2
nextpnr-609794f9e6561fec1324ee554d85742e13e3d513.zip
Add Net/Cell "udata" field
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'common')
-rw-r--r--common/nextpnr.h4
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;