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 /ice40 | |
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 'ice40')
-rw-r--r-- | ice40/arch_pybindings.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ice40/arch_pybindings.cc b/ice40/arch_pybindings.cc index 67a37983..ac8c189a 100644 --- a/ice40/arch_pybindings.cc +++ b/ice40/arch_pybindings.cc @@ -75,7 +75,7 @@ void arch_wrap_python() fn_wrapper_1a<Context, decltype(&Context::getConflictingBelCell), &Context::getConflictingBelCell, conv_to_str<IdString>, conv_from_str<BelId>>::def_wrap(ctx_cls, "getConflictingBelCell"); fn_wrapper_0a<Context, decltype(&Context::getBels), &Context::getBels, wrap_context<BelRange>>::def_wrap(ctx_cls, - "getBels"); + "getBels"); fn_wrapper_1a<Context, decltype(&Context::getBelsAtSameTile), &Context::getBelsAtSameTile, wrap_context<BelRange>, conv_from_str<BelId>>::def_wrap(ctx_cls, "getBelsAtSameTile"); @@ -139,15 +139,15 @@ void arch_wrap_python() fn_wrapper_0a<Context, decltype(&Context::getChipName), &Context::getChipName, pass_through<std::string>>::def_wrap( ctx_cls, "getChipName"); fn_wrapper_0a<Context, decltype(&Context::archId), &Context::archId, conv_to_str<IdString>>::def_wrap(ctx_cls, - "archId"); + "archId"); typedef std::unordered_map<IdString, std::unique_ptr<CellInfo>> CellMap; typedef std::unordered_map<IdString, std::unique_ptr<NetInfo>> NetMap; readonly_wrapper<Context, decltype(&Context::cells), &Context::cells, wrap_context<CellMap &>>::def_wrap(ctx_cls, - "cells"); + "cells"); readonly_wrapper<Context, decltype(&Context::nets), &Context::nets, wrap_context<NetMap &>>::def_wrap(ctx_cls, - "nets"); + "nets"); WRAP_RANGE(Bel, conv_to_str<BelId>); WRAP_RANGE(Wire, conv_to_str<WireId>); WRAP_RANGE(AllPip, conv_to_str<PipId>); |