aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorEddie Hung <e.hung@imperial.ac.uk>2018-07-26 21:00:26 -0700
committerEddie Hung <e.hung@imperial.ac.uk>2018-07-26 21:00:26 -0700
commitd5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33 (patch)
tree0f641516654085dd24bb69889ef466041234f684 /ecp5
parentf45e688354c13f38bda3ba4064587880a25980fe (diff)
parente5acd80247264fed41dfc1e7e07efa8a10a67fae (diff)
downloadnextpnr-d5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33.tar.gz
nextpnr-d5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33.tar.bz2
nextpnr-d5c2332ebf5dd9b84e3a6fd2a99e8df70150bd33.zip
Merge remote-tracking branch 'origin/master' into redist_slack
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.h6
-rw-r--r--ecp5/bitstream.cc2
2 files changed, 6 insertions, 2 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h
index b5f3d817..b6aac9cf 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -538,6 +538,8 @@ struct Arch : BaseCtx
return id(name.str());
}
+ IdString getWireType(WireId wire) const { return IdString(); }
+
uint32_t getWireChecksum(WireId wire) const { return wire.index; }
void bindWire(WireId wire, IdString net, PlaceStrength strength)
@@ -616,6 +618,8 @@ struct Arch : BaseCtx
PipId getPipByName(IdString name) const;
IdString getPipName(PipId pip) const;
+ IdString getPipType(PipId pip) const { return IdString(); }
+
uint32_t getPipChecksum(PipId pip) const { return pip.index; }
void bindPip(PipId pip, IdString net, PlaceStrength strength)
@@ -748,7 +752,7 @@ 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; }
+ int8_t getPipClass(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;
diff --git a/ecp5/bitstream.cc b/ecp5/bitstream.cc
index f87b7038..df9b12d5 100644
--- a/ecp5/bitstream.cc
+++ b/ecp5/bitstream.cc
@@ -174,7 +174,7 @@ void write_bitstream(Context *ctx, std::string base_config_file, std::string tex
// Add all set, configurable pips to the config
for (auto pip : ctx->getPips()) {
if (ctx->getBoundPipNet(pip) != IdString()) {
- if (ctx->getPipType(pip) == 0) { // ignore fixed pips
+ if (ctx->getPipClass(pip) == 0) { // ignore fixed pips
std::string tile = empty_chip.get_tile_by_position_and_type(pip.location.y, pip.location.x,
ctx->getPipTiletype(pip));
std::string source = get_trellis_wirename(ctx, pip.location, ctx->getPipSrcWire(pip));