aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.h
diff options
context:
space:
mode:
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;