diff options
author | Pepijn de Vos <pepijndevos@gmail.com> | 2022-07-02 13:29:44 +0200 |
---|---|---|
committer | Pepijn de Vos <pepijndevos@gmail.com> | 2022-07-02 13:29:44 +0200 |
commit | 0641ff47d9c437c02d77363d568b106c4ceae155 (patch) | |
tree | 0c2fb9f751004c7dcad0c7c618d3d6dd6b2cf0e3 /ecp5/arch_pybindings.cc | |
parent | b7992ec7724000f813ab053ac6042326f3795471 (diff) | |
parent | b4337d99fde46abe85cab8bdf98a681eefe1f3e1 (diff) | |
download | nextpnr-0641ff47d9c437c02d77363d568b106c4ceae155.tar.gz nextpnr-0641ff47d9c437c02d77363d568b106c4ceae155.tar.bz2 nextpnr-0641ff47d9c437c02d77363d568b106c4ceae155.zip |
Merge branch 'master' into shadowram
Diffstat (limited to 'ecp5/arch_pybindings.cc')
-rw-r--r-- | ecp5/arch_pybindings.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ecp5/arch_pybindings.cc b/ecp5/arch_pybindings.cc index 593feb33..1621eda5 100644 --- a/ecp5/arch_pybindings.cc +++ b/ecp5/arch_pybindings.cc @@ -21,6 +21,7 @@ #ifndef NO_PYTHON #include "arch_pybindings.h" +#include "bitstream.h" #include "nextpnr.h" #include "pybindings.h" @@ -69,6 +70,8 @@ void arch_wrap_python(py::module &m) WRAP_MAP_UPTR(m, CellMap, "IdCellMap"); WRAP_MAP_UPTR(m, NetMap, "IdNetMap"); WRAP_MAP(m, HierarchyMap, wrap_context<HierarchicalCell &>, "HierarchyMap"); + + m.def("write_bitstream", &write_bitstream); } NEXTPNR_NAMESPACE_END |