Skip to content

Is YosysAdder still supported? #122

@tcal-x

Description

@tcal-x

With pptrees v1.2.6

I have a simple script:

from pptrees.YosysAdder import YosysAdder as forest

width = 9
f = forest(width, alias = "sklansky")
f.hdl('adder.v')

This gives the following output:

Traceback (most recent call last):
  File "x.py", line 6, in <module>
    f.hdl('adder.v')
  File "/media/tim/GIT/tdene/synth_opt_adders/venv/lib/python3.8/site-packages/pptrees-1.2.6-py3.8.egg/pptrees/YosysAdder.py", line 43, in hdl
    hdl, module_defs, file_out_hdl = super().hdl(
TypeError: hdl() got an unexpected keyword argument 'cell_flat'

Grandparent class ExpressionForest's hdl() method has args flat, block_flat, and node_flat, but not cell_flat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions