nexus: Fix Python bindings
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
1e4eb5ec39
commit
70749b37d0
@ -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);
|
||||
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user