aboutsummaryrefslogtreecommitdiffstats
path: root/misc/py_wrap_generator.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixing old e-mail addresses and deadnamesClaire Xenia Wolf2021-06-081-2/+2
| | | | | | | | s/((Claire|Xen|Xenia|Clifford)\s+)+(Wolf|Xen)\s+<(claire|clifford)@(symbioticeda.com|clifford.at|yosyshq.com)>/Claire Xenia Wolf <claire@yosyshq.com>/gi; s/((Nina|Nak|N\.)\s+)+Engelhardt\s+<nak@(symbioticeda.com|yosyshq.com)>/N. Engelhardt <nak@yosyshq.com>/gi; s/((David)\s+)+Shah\s+<(dave|david)@(symbioticeda.com|yosyshq.com|ds0.me)>/David Shah <dave@ds0.me>/gi; s/((Miodrag)\s+)+Milanovic\s+<(miodrag|micko)@(symbioticeda.com|yosyshq.com)>/Miodrag Milanovic <micko@yosyshq.com>/gi; s,https?://www.clifford.at/yosys/,http://yosyshq.net/yosys/,g;
* Remove a few functions that, in fact, did not exist in the first place.Marcelina Kościelnicka2021-03-061-1/+1
|
* pyosys: Use C++11 override keyword for bindingsXiretza2020-06-211-1/+1
| | | | | | | | | | | | | | 7191dd16 dropped the YS_OVERRIDE macro, but it was still being generated by the python bindings generator, resulting in errors like these when compiled with ENABLE_PYOSYS=1: kernel/python_wrappers.cc:350:21: error: expected ‘;’ at end of member declaration 350 | virtual void help() YS_OVERRIDE; | ^ | ; kernel/python_wrappers.cc:350:23: error: ‘YS_OVERRIDE’ does not name a type 350 | virtual void help() YS_OVERRIDE; | ^~~~~~~~~~~
* idict handling in wrapperMartin2020-05-191-7/+13
| | | | | - Also, re-applied no-line-break workaround to rtlil.h to make parser catch all methods.
* remove namespace mention from inheritance informationStefan Biereigel2020-02-031-1/+1
|
* expose polymorphism through python wrappersStefan Biereigel2020-02-031-2/+8
|
* add inheritance for pywrap generatorsStefan Biereigel2020-01-301-0/+30
|
* handle anonymous unions to fix #1080Patrick Eibl2019-11-211-0/+13
|
* Fix renaming all classes to Cpp*Benedikt Tutzer2019-10-091-2/+2
| | | | | | (This is only relevant for classes that are exposed twice, one time as a base class and one time as a derived class that can in turn be overridden in python, but actually all others were renamed)
* Expose global variables and allow logging to python streamsBenedikt Tutzer2019-10-091-6/+286
| | | | | | Global variables are now accessible via the Yosys class. To capture Yosys output, once can now register an output stream in Pyosys.
* Generate Python wrappers for inline constructorsBenedikt Tutzer2019-09-231-0/+2
| | | | Fixes: #1353
* Merge pull request #1112 from acw1251/pyosys_sigsig_issueClifford Wolf2019-08-251-16/+10
|\ | | | | Fixed pyosys commands returning RTLIL::SigSig
| * Fixed pyosys commands returning RTLIL::SigSigacw12512019-06-191-16/+10
| |
* | Throw runtime exception when trying to convert a c++-pointer to aBenedikt Tutzer2019-07-041-0/+3
|/ | | | | | python-object in case the pointer is a nullptr to avoid a segfault. Fixes #1090
* remove boost/log/exceptions.hpp from wrapper generatorStefan Biereigel2019-06-071-1/+0
|
* Remove yosys_banner() from python wrapper init, fixes #1056Clifford Wolf2019-06-051-1/+0
| | | | Signed-off-by: Clifford Wolf <clifford@clifford.at>
* Cleaned up root directoryBenedikt Tutzer2019-04-301-0/+2096