Skip to content

Multi-output AIG #126

Closed
Closed
@sventhijssen

Description

@sventhijssen

Dear,

I had a question regarding the reading of AIGs. Say I have a multi-output AIG, how do I convert this into multiple Boolean expressions (BoolExpr)?

In the examples, I only saw code for single-output AIGs:

expr10 = aiger.BoolExpr(circ)

I have tried to debug the code and change the following in the code (expr.py):

__call__ on line 23:

exprs = dict()
for output in self.output:
    exprs[output] = self.aig(inputs, lift=lift)[0][output]
return exprs

and output(self) on line 47:

def output(self):
    return self.aig.outputs

However, this does not seem to work and I have difficulty with the debugging. Could you help me further please?

Thank you in advance.
Best regards,
Sven

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