diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-13 19:10:20 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-13 19:10:27 +0100 |
commit | b8ca1a55820d6429f5ad5207be1e125b8786e093 (patch) | |
tree | 6733f6ff9de556ccee6bf87b33dbe6b963cbc6db /ice40/arch.h | |
parent | 89809a8b810dd57f50f365d70a0ce547705f8dbb (diff) | |
parent | 07ff5ad8b8e4d0f87770b81b8478aa257567c504 (diff) | |
download | nextpnr-b8ca1a55820d6429f5ad5207be1e125b8786e093.tar.gz nextpnr-b8ca1a55820d6429f5ad5207be1e125b8786e093.tar.bz2 nextpnr-b8ca1a55820d6429f5ad5207be1e125b8786e093.zip |
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/lock-the-things
Diffstat (limited to 'ice40/arch.h')
-rw-r--r-- | ice40/arch.h | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/ice40/arch.h b/ice40/arch.h index 4462ce9e..36e34d7b 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -477,21 +477,6 @@ public: uint32_t getWireChecksum(WireId wire) const { return wire.index; } - - WireRange getWires() const - { - WireRange range; - range.b.cursor = 0; - range.e.cursor = chip_info->num_wires; - return range; - } - - // ------------------------------------------------- - - IdString getPipName(PipId pip) const; - - uint32_t getPipChecksum(PipId pip) const { return pip.index; } - AllPipRange getPips() const { AllPipRange range; @@ -499,6 +484,10 @@ public: range.e.cursor = chip_info->num_pips; return range; } + + IdString getPipName(PipId pip) const; + + uint32_t getPipChecksum(PipId pip) const { return pip.index; } WireId getPipSrcWire(PipId pip) const { @@ -551,6 +540,15 @@ public: return range; } + WireRange getWires() const + { + WireRange range; + range.b.cursor = 0; + range.e.cursor = chip_info->num_wires; + return range; + } + + BelId getPackagePinBel(const std::string &pin) const; std::string getBelPackagePin(BelId bel) const; @@ -575,6 +573,7 @@ public: // ------------------------------------------------- + bool pack(); bool place(); bool route(); |