aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nexus/arch_pybindings.cc4
-rw-r--r--nexus/pdc.cc3
2 files changed, 2 insertions, 5 deletions
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_<ArchArgs>(m, "ArchArgs")
- .def_readwrite("chipdb", &ArchArgs::chipdb)
- .def_readwrite("device", &ArchArgs::device);
+ py::class_<ArchArgs>(m, "ArchArgs").def_readwrite("device", &ArchArgs::device);
py::class_<BelId>(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());
}