Up to [cvs.NetBSD.org] / pkgsrc / cad / py-PyRTL
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
cad/py-PyRTL: Update to 1.0.3
Changelog:
[1.0.3] - 2026-08-04
Added
* name_scope is a context manager that prepends string prefixes to WireVector
and MemBlock names.
Changed
* sign_extended and zero_extended no longer generate slice (s) LogicNets.
* When concat is called with Const args, the constants are immediately
concatenated, returning a new Const.
* Improved render_trace's ASCII output.
Fixed
* Fixed an output_to_verilog bug where arithmetic expressions may truncate
due to inlining.
* Fixed several minor Windows compatibility issues around Unicode and
testing. Enabled continuous Windows testing via GitHub Actions.
cad/py-PyRTL: Update to 1.0.2 Changelog: ## [1.0.2] - 2026-07-22 ### Fixed - Fixed a `CompiledSimulation` `arm64` bug introduced in `1.0.1`. Added an `arm64` GitHub workflow to catch such regressions in the future. ## [1.0.1] - 2026-07-22 ### Changed - Significant `Simulation` performance speedups (tested with [`pyrtlnet`](https://github.com/UCSBarchlab/pyrtlnet)): class | method | speedup ---: | :--- | ---: `Simulation` | `step()` | 40% `FastSimulation` | `__init__()` | 10% `FastSimulation` | `step()` | 15% `CompiledSimulation` | `__init__()` | 65% `CompiledSimulation` | `step()` | 30% - Documentation improvements. ### Fixed - Fixed a `CompiledSimulation` bug when the first arg to `concat` crosses a 64-bit boundary in the `concat`'s output.
cad/py-PyRTL: Update to 1.0.0
Changelog:
1.0.0:
Added
* PyRTL Floating point library (@gaborszita)
* Registers can be constructed with a State IntEnum to simplify construction
of state machines.
Changed
* Improved CompiledSimulation's performance.
* output_to_verilog now supports custom module_names. (@devmam999)
* Minor improvements to wire_struct and wire_matrix.
* Minor improvements to WaveDrom output.
* Many documentation improvements.
Fixed
* Fix WaveDrom trace output in Jupyter Notebooks. (@ryoon
* render_trace raises PyrtlError when called with an empty SimulationTrace. (
@gaborszita)
cad/py-PyRTL: Fix the error from render_trace() on Jupyter * Do not fail with 'Javascript Error: $ is not defined'. * Bump PKGREVISION.
cad/py-PyRTL: Update to 0.12
Changelog:
0.12 - 2025-07-28
Added
GateGraph is an alternative PyRTL logic representation, designed to simplify analysis.
Changed
Rewrote output_to_verilog and output_verilog_testbench. The new implementation's output should be much easier to read:
Single-use expressions are inlined.
Try mangling unusable WireVector and MemBlock names first, before assigning them entirely new names.
Add comments to the generated Verilog that show the un-mangled names.
Many documentation improvements:
Most methods and functions now have examples.
Consistently use canonical top-level pyrtl.* names, rather than module-level names (pyrtl.WireVector, not pyrtl.wire.WireVector).
Enabled intersphinx for clickable standard library references (list, dict, etc).
Set up doctest for examples, to verify that documentation examples still work.
Switched from pylint and pycodestyle to ruff:
Applied many ruff fixes.
Reformatted the code with ruff format.
Updated tox to run ruff check and ruff format.
Removed
Removed remaining Python 2 support.
Fixed
Fixed XOR implementation in and_inverter_synth pass (@EdwinChang24)
output_verilog_testbench should not re-initialize RomBlocks.
FastSimulation was not setting init_memvalue correctly (renamed to SimulationTrace.memory_value_map).
Specify bitwidths for Verilog initial register and memory values. They were previously unsized constants, which are implicitly 32-bit signed, which could cause surprises.
cad/py-PyRTL: Update to 0.11.3 Changelog: ## [0.11.3] - 2025-06-12 ### Added - An optimization pass to [optimize inverter chains](https://github.com/UCSBarchlab/PyRTL/blob/d5f8dbe53f54e61e1d54722449e4894b885243c7/pyrtl/passes.py#L130) - `one_hot_to_binary` encoder ([documentation](https://pyrtl.readthedocs.io/en/latest/helpers.html#pyrtl.helperfuncs.one_hot_to_binary)) - `binary_to_one_hot` decoder ([documentation](https://pyrtl.readthedocs.io/en/latest/helpers.html#pyrtl.helperfuncs.binary_to_one_hot)) ### Changed - More support for signed integers: Signed integers can now be used in `RomBlock`'s `romdata`, `Simulation`'s `mem_value_map`, and Verilog-style register reset values. - Improved documentation: - [conditional_assignment](https://pyrtl.readthedocs.io/en/latest/basic.html#module-pyrtl.conditional) - [WireVector equality](https://pyrtl.readthedocs.io/en/latest/basic.html#wirevector-equality) ### Fixed - Use iteration instead of recursion to avoid stack overflow in `find_producer`.
py-PyRTL: remove unused test dependencies
py-PyRTL: add missing tool dependency Fix testing and add test status.
cad/py-PyRTL: Update to 0.11.2 Changelog: ### Added - Added an `initialize_registers` option to `output_to_verilog` documentation ### Changed - Improved handling of signed integers. ### Fixed - Fixed a `wire_matrix` bug involving single-element matrices of `Inputs` or `Registers`.
cad/py-PyRTL: Update to 0.11.1
Changelog:
0.11.1:
Upgrade download-artifact action to v4, for compatibility with upload
-artifact v4.
0.11.0:
Set PyRTL's Python package version from `git tag`.
This avoid keeping the latest version number in two places, `pyproject.toml`
and `git tag`. Simplify instructions in release/README.md.
Rename some GitHub workflow jobs to clarify their purpose.
0.11.0rc1:
GitHub actions to automate PyRTL releases to TestPyPI and PyPI.
- Migrade from `setup.{py,cfg}` to `pyproject.toml`
- Add `python-release.yml` workflow
- Prepare a `0.11.0rc1` release.
- Rename `python-package.yml` to `python-test.yml` and upgrade checkout action to `v4`.
- Add release documentation at `release/README.md`
- Use latest python and ubuntu versions for readthedocs.
- Remove the release version number from the sphinx configuration
(`docs/conf.py`). It doesn't seem to do anything.
py-PyRTL: Update to 0.10.2 Changelog: * Fix tox tests on Apple M1, aarch64. * Fix another tox tests. * Fix error message typo. * Support newer graphviz to generate SVG. * Fix constant propagation for synthesized blocks. * Improve net_connections() function. * Improve paths() function. * Update documentation.
py-PyRTL: Support graphics/py-graphviz-0.19 or later too
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-PyRTL: mark as not for python 2.7
py-PyRTL: Update to 0.10.1 Changelog: 0.10.1 Various fixes to import/export and visualization. 0.10 Not provided as summary.
py-PyRTL: Update to 0.9.0 * Use PyPI as MASTER_SITES. 0.9.0 is not released on GitHub. Changelog: Not available.
cad/py-PyRTL: import py37-PyRTL-0.8.7 PyRTL provides a collection of classes for pythonic register-transfer level design, simulation, tracing, and testing suitable for teaching and research. Simplicity, usability, clarity, and extensibility rather than performance or optimization is the overarching goal.