diff options
Diffstat (limited to 'common/kernel')
-rw-r--r-- | common/kernel/nextpnr_types.h | 6 | ||||
-rw-r--r-- | common/kernel/pybindings.cc | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/common/kernel/nextpnr_types.h b/common/kernel/nextpnr_types.h index e4042aec..2a9062fd 100644 --- a/common/kernel/nextpnr_types.h +++ b/common/kernel/nextpnr_types.h @@ -205,9 +205,9 @@ struct RegionPlug : PseudoCell WireId getPortWire(IdString port) const override { return port_wires.at(port); } // TODO: partial reconfiguration region timing - bool getDelay(IdString fromPort, IdString toPort, DelayQuad &delay) const { return false; } - TimingPortClass getPortTimingClass(IdString port, int &clockInfoCount) const { return TMG_IGNORE; } - virtual TimingClockingInfo getPortClockingInfo(IdString port, int index) const { return TimingClockingInfo{}; } + bool getDelay(IdString fromPort, IdString toPort, DelayQuad &delay) const override { return false; } + TimingPortClass getPortTimingClass(IdString port, int &clockInfoCount) const override { return TMG_IGNORE; } + TimingClockingInfo getPortClockingInfo(IdString port, int index) const override { return TimingClockingInfo{}; } dict<IdString, WireId> port_wires; Loc loc; diff --git a/common/kernel/pybindings.cc b/common/kernel/pybindings.cc index 9a783eb4..f738f081 100644 --- a/common/kernel/pybindings.cc +++ b/common/kernel/pybindings.cc @@ -191,8 +191,7 @@ PYBIND11_EMBEDDED_MODULE(MODULE_NAME, m) ci_cls, "params"); readonly_wrapper<CellInfo &, decltype(&CellInfo::ports), &CellInfo::ports, wrap_context<PortMap &>>::def_wrap( ci_cls, "ports"); - readwrite_wrapper<CellInfo &, decltype(&CellInfo::bel), &CellInfo::bel, conv_to_str<BelId>, - conv_from_str<BelId>>::def_wrap(ci_cls, "bel"); + readonly_wrapper<CellInfo &, decltype(&CellInfo::bel), &CellInfo::bel, conv_to_str<BelId>>::def_wrap(ci_cls, "bel"); readwrite_wrapper<CellInfo &, decltype(&CellInfo::belStrength), &CellInfo::belStrength, pass_through<PlaceStrength>, pass_through<PlaceStrength>>::def_wrap(ci_cls, "belStrength"); |