3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-05 13:56:04 +00:00
yosys/tests/pyosys
Mohamed Gaber d6b9158fa3
pyosys: fix regressions from 0.58
- consistently use value semantics for objects passed along FFI boundary
  (not ideal but matches previous behavior)
- add new overload of RTLIL::Module: addMemory that does not require a "donor" object
  - the idea is `Module`, `Memory`, `Wire`, `Cell` and `Process` cannot be directly constructed in Python and can only be added to the existing memory hierarchy in `Design` using the `add` methods - `Memory` requiring a donor object was the odd one out here
- fix superclass member wrapping only looking at direct superclass for inheritance instead of recursively checking superclasses
- fix superclass member wrapping not using superclass's denylists
- fix Design's `__str__` function not returning a string
- fix the generator crashing if there's any `std::function` in a header
- misc: add a crude `__repr__` based on `__str__`
2025-10-26 02:21:40 +03:00
..
run_tests.py tests/pyosys: print log on failed test, fix make clean 2025-10-03 11:54:44 +03:00
spm.cut.v.gz pyosys: rewrite using pybind11 2025-10-03 11:54:44 +03:00
test_data_read.py pyosys: rewrite using pybind11 2025-10-03 11:54:44 +03:00
test_dict.py pyosys/hashlib: equivalence operators 2025-10-03 11:54:44 +03:00
test_idict.py pyosys: fix ref-only classes, implicit conversions 2025-10-03 11:54:44 +03:00
test_idstring_lifetime.py pyosys: fix regressions from 0.58 2025-10-26 02:21:40 +03:00
test_import.py pyosys: globals, set operators for opaque types 2025-10-03 11:54:44 +03:00
test_indirect_inheritance.py pyosys: fix regressions from 0.58 2025-10-26 02:21:40 +03:00
test_logs.py pyosys: rewrite wrapper generator 2025-10-03 11:54:44 +03:00
test_monitor.py pyosys: fix regressions from 0.58 2025-10-26 02:21:40 +03:00
test_pass.py pyosys: rewrite using pybind11 2025-10-03 11:54:44 +03:00
test_script.py pyosys: rewrite using pybind11 2025-10-03 11:54:44 +03:00
test_set.py pyosys/hashlib: equivalence operators 2025-10-03 11:54:44 +03:00