diff options
author | David Shah <davey1576@gmail.com> | 2018-07-11 09:09:18 +0000 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-11 09:09:18 +0000 |
commit | a70f5ce109309119d5ab45ee53f7cd3549144871 (patch) | |
tree | e8fb02674ffff3e45b4c3b7bf7e010148b32ad51 /common/pybindings.cc | |
parent | d5be9ff5845e17f17a22fb11cdb5099a84a6bb4d (diff) | |
parent | bcc63091fb30ac15c9f98bfc3b3a41d921af0bd4 (diff) | |
download | nextpnr-a70f5ce109309119d5ab45ee53f7cd3549144871.tar.gz nextpnr-a70f5ce109309119d5ab45ee53f7cd3549144871.tar.bz2 nextpnr-a70f5ce109309119d5ab45ee53f7cd3549144871.zip |
Merge branch 'ecp5' into 'master'
Adding ECP5 support
See merge request SymbioticEDA/nextpnr!5
Diffstat (limited to 'common/pybindings.cc')
-rw-r--r-- | common/pybindings.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/pybindings.cc b/common/pybindings.cc index 1a0eba8f..061dfc47 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -110,13 +110,13 @@ BOOST_PYTHON_MODULE(MODULE_NAME) readwrite_wrapper<CellInfo &, decltype(&CellInfo::belStrength), &CellInfo::belStrength, pass_through<PlaceStrength>, pass_through<PlaceStrength>>::def_wrap(ci_cls, "belStrength"); readonly_wrapper<CellInfo &, decltype(&CellInfo::pins), &CellInfo::pins, wrap_context<PinMap &>>::def_wrap(ci_cls, - "pins"); + "pins"); auto pi_cls = class_<ContextualWrapper<PortInfo &>>("PortInfo", no_init); readwrite_wrapper<PortInfo &, decltype(&PortInfo::name), &PortInfo::name, conv_to_str<IdString>, conv_from_str<IdString>>::def_wrap(pi_cls, "name"); readonly_wrapper<PortInfo &, decltype(&PortInfo::net), &PortInfo::net, deref_and_wrap<NetInfo>>::def_wrap(pi_cls, - "net"); + "net"); readwrite_wrapper<PortInfo &, decltype(&PortInfo::type), &PortInfo::type, pass_through<PortType>, pass_through<PortType>>::def_wrap(pi_cls, "type"); @@ -131,11 +131,11 @@ BOOST_PYTHON_MODULE(MODULE_NAME) readonly_wrapper<NetInfo &, decltype(&NetInfo::users), &NetInfo::users, wrap_context<PortVector &>>::def_wrap( ni_cls, "users"); readonly_wrapper<NetInfo &, decltype(&NetInfo::wires), &NetInfo::wires, wrap_context<WireMap &>>::def_wrap(ni_cls, - "wires"); + "wires"); auto pr_cls = class_<ContextualWrapper<PortRef &>>("PortRef", no_init); readonly_wrapper<PortRef &, decltype(&PortRef::cell), &PortRef::cell, deref_and_wrap<CellInfo>>::def_wrap(pr_cls, - "cell"); + "cell"); readwrite_wrapper<PortRef &, decltype(&PortRef::port), &PortRef::port, conv_to_str<IdString>, conv_from_str<IdString>>::def_wrap(pr_cls, "port"); readwrite_wrapper<PortRef &, decltype(&PortRef::budget), &PortRef::budget, pass_through<delay_t>, |