aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-09 12:02:31 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-11 10:42:09 +0200
commitbad926bcc3e4d77bcb76d54eff689a91233c71fb (patch)
treee5b0aa14bf66033ffbf4faaa8c685797755155f4 /ecp5/arch.h
parentde82ecad592a98a7061bfccb62d3df40d50b1354 (diff)
downloadnextpnr-bad926bcc3e4d77bcb76d54eff689a91233c71fb.tar.gz
nextpnr-bad926bcc3e4d77bcb76d54eff689a91233c71fb.tar.bz2
nextpnr-bad926bcc3e4d77bcb76d54eff689a91233c71fb.zip
ecp5: Adding bitstream gen for pips and LUT init
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/arch.h')
-rw-r--r--ecp5/arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h
index 219a960e..cc63eeaa 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -704,6 +704,8 @@ struct Arch : BaseCtx
return chip_info->tiletype_names[locInfo(pip)->pip_data[pip.index].tile_type].get();
}
+ int8_t getPipType(PipId pip) const { return locInfo(pip)->pip_data[pip.index].pip_type; }
+
BelId getPackagePinBel(const std::string &pin) const;
std::string getBelPackagePin(BelId bel) const;