aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-10-06 17:59:44 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-10-20 09:41:48 +0200
commitf7a6d4dc06c333ebb8165daa1e2b4d23c188285d (patch)
treef7710a4ff5a2f875eaf225ac69530312e7f4eaf6 /ecp5/arch.h
parenteafc0e4e9e94edfb0626dc3817fa5d119e2a01f7 (diff)
downloadnextpnr-f7a6d4dc06c333ebb8165daa1e2b4d23c188285d.tar.gz
nextpnr-f7a6d4dc06c333ebb8165daa1e2b4d23c188285d.tar.bz2
nextpnr-f7a6d4dc06c333ebb8165daa1e2b4d23c188285d.zip
Start adding visible wires
Diffstat (limited to 'ecp5/arch.h')
-rw-r--r--ecp5/arch.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h
index f6ba1a7b..815dae0c 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -85,6 +85,7 @@ NPNR_PACKED_STRUCT(struct PipLocatorPOD {
NPNR_PACKED_STRUCT(struct WireInfoPOD {
RelPtr<char> name;
int32_t type;
+ int32_t tile_wire;
int32_t num_uphill, num_downhill;
RelPtr<PipLocatorPOD> pips_uphill, pips_downhill;
@@ -648,11 +649,7 @@ struct Arch : BaseCtx
return id;
}
- std::vector<std::pair<IdString, std::string>> getWireAttrs(WireId) const
- {
- std::vector<std::pair<IdString, std::string>> ret;
- return ret;
- }
+ std::vector<std::pair<IdString, std::string>> getWireAttrs(WireId) const;
uint32_t getWireChecksum(WireId wire) const { return wire.index; }