Circuitgraph

Latest version: v0.2.1

Safety actively analyzes 619197 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.2.1

Fixed
- Approximate model counting subprocess newlines and encoding
- `set_type` docstring
- `props.influence` docstring
- Ternary transform for circuits with xor/xnor gates
- `sat.construct_solver` works with newer versions of `python-sat`

Added
- Generic flop blackbox
- `insert_registers` transform
- `limit_fanout` transform
- `levelize` function

Changed
- `sat.construct_solver` accepts a `pysat.Solver` class instead of a string for greater flexibility. If no solver is specified, `Cadical` (`Cadical153` for newer versions of `python-sat`) will be used.
- Added `stretch` argument to Yosys `show` command for `cg.visualize`

0.2.0

Fixed
- Visualization with BlackBoxes.

Added
- Supergate construction functionality.

Changed
- `output` is no longer a node type but an extra property. It can be accessed using `Circuit.is_output` and `Circuit.set_output`. Any node with a primitive gate type can also be marked as an output.
- Import structure has changed. Most functions should now be referrenced based on their parent module, e.g., `cg.tx.syn` instead of `cg.syn`.
- Most module names have been shortened for ease of use with new import structure.
- Renamed `sat` function to `solve`.
- Removed `copy` from `tx`. Copying a circuit can be done using `Circuit.copy`.

0.1.3

Added
- More robust checks for incorrect circuit construction
- More robust parsing, including faster parsing using regex
- Simple circuit visualization
- `x` type for nodes (similar to `0`, and `1`)
- Sequential unroll transform

0.1.2

Fixed
- Synthesis now works with python3.6 again

Added
- DesignCompiler synthesis

0.1.1

Fixed
- Parsing is now being included correctly

Added
- Lark based verilog parsing to vastly speed up reading verilog netlists

Changed
- Replaced memory elements with a more general blackbox-based scheme

0.0.3

Fixed
- Image link in README is external so that it will appear in pypi

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.