mirror of
https://github.com/YosysHQ/yosys
synced 2026-02-07 01:32:15 +00:00
fix pyosys Design.run_pass binding to use Pass::call signature
This commit is contained in:
parent
cf511628b0
commit
b43c96b03d
1 changed files with 2 additions and 2 deletions
|
|
@ -703,11 +703,11 @@ class PyosysWrapperGenerator(object):
|
|||
|
||||
if basename == "Design":
|
||||
print(
|
||||
'\t\t\t.def("run_pass", [](Design &s, std::vector<std::string> cmd) { Pass::call(cmd, &s); })',
|
||||
'\t\t\t.def("run_pass", [](Design &s, std::vector<std::string> cmd) { Pass::call(&s, cmd); })',
|
||||
file=self.f,
|
||||
)
|
||||
print(
|
||||
'\t\t\t.def("run_pass", [](Design &s, std::string cmd) { Pass::call(cmd, &s); })',
|
||||
'\t\t\t.def("run_pass", [](Design &s, std::string cmd) { Pass::call(&s, cmd); })',
|
||||
file=self.f,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue