aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/bitstream.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-07-26 18:48:07 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-07-26 18:48:07 +0200
commit8db19778a09954e7c0b4803bdfc40509de0403fd (patch)
treeae80d1b80e2ba1c7a8b56adbbed2f1b3051d4236 /ecp5/bitstream.cc
parentae6eeb9d810c647ca1684459627b8dd20870f993 (diff)
downloadnextpnr-8db19778a09954e7c0b4803bdfc40509de0403fd.tar.gz
nextpnr-8db19778a09954e7c0b4803bdfc40509de0403fd.tar.bz2
nextpnr-8db19778a09954e7c0b4803bdfc40509de0403fd.zip
Fix name clash for ecp5
Diffstat (limited to 'ecp5/bitstream.cc')
-rw-r--r--ecp5/bitstream.cc2
1 files changed, 1 insertions, 1 deletions
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));