-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
PythonRelating the Python part of the projectRelating the Python part of the projectenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
What's the problem this feature will solve?
When a mockturtle view is desired for an aigverse network type, that view must be exposed as an additional network type. For instance, Aig and SequentialAig. This makes nesting views cumbersome in Python. Currently, there is no way to have depth (DepthAig) and sequential information (SequentialAig) in a single network in Python. This problem only intensifies once more network types are exposed. See #122.
Describe the solution you'd like
I'm not yet sure how to best address this issue. Any suggestions are welcome. I want to prevent a situation where we have all combinations of views exposed as individual network types, e.g., SequentialDepthAig. Instead, a better API might offer something like this:
aig = Aig(views=["depth", "sequential"])Feel free to contribute if you have a good idea for implementing this API!
Metadata
Metadata
Assignees
Labels
PythonRelating the Python part of the projectRelating the Python part of the projectenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed