From 70749b37d02b7efa677f231db32248743944fc3e Mon Sep 17 00:00:00 2001 From: David Shah Date: Tue, 20 Oct 2020 09:50:42 +0100 Subject: nexus: Fix Python bindings Signed-off-by: David Shah --- nexus/arch_pybindings.cc | 4 +--- nexus/pdc.cc | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'nexus') diff --git a/nexus/arch_pybindings.cc b/nexus/arch_pybindings.cc index 8bee7713..caab8312 100644 --- a/nexus/arch_pybindings.cc +++ b/nexus/arch_pybindings.cc @@ -29,9 +29,7 @@ NEXTPNR_NAMESPACE_BEGIN void arch_wrap_python(py::module &m) { using namespace PythonConversion; - py::class_(m, "ArchArgs") - .def_readwrite("chipdb", &ArchArgs::chipdb) - .def_readwrite("device", &ArchArgs::device); + py::class_(m, "ArchArgs").def_readwrite("device", &ArchArgs::device); py::class_(m, "BelId").def_readwrite("index", &BelId::index).def_readwrite("tile", &BelId::tile); diff --git a/nexus/pdc.cc b/nexus/pdc.cc index 189977e9..3efab69a 100644 --- a/nexus/pdc.cc +++ b/nexus/pdc.cc @@ -206,8 +206,7 @@ struct PDCParser else if (cmd == "ldc_set_sysconfig" || cmd == "get_nets" || cmd == "create_clock") { log_warning("%s is not yet supported!\n", cmd.c_str()); return TCLValue(""); - } - else + } else log_error("Unsupported PDC command '%s'\n", cmd.c_str()); } -- cgit v1.2.3