Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using another type of input file #359

Open
yychen561 opened this issue Jan 17, 2025 · 3 comments
Open

using another type of input file #359

yychen561 opened this issue Jan 17, 2025 · 3 comments

Comments

@yychen561
Copy link

how can i use a DEF or a tech-mapped Verilog as input, decompose it to AIG representation(command "strash"?), and then use ABC to optimize it?

@wjrforcyber
Copy link
Contributor

Maybe write your own, theoretically speaking any boolean complete network and be done by defining the ISOP for each one of the functional representative element and write into a blif format, and then read into ABC.
Maybe check how yosys does it.

@yychen561
Copy link
Author

You meant transforming the DEF or Verilog file to a BLIF file? However, I prefer in - memory operations instead of file reads and writes.
Now, I am trying to construct a network in ABC using the Miniaig package according to my DEF. Do you have any comments on this approach? Thanks for your help!

@alanminko
Copy link
Contributor

MiniAig is a good way to go. It can also be passed in memory using API Abc_FrameGiaInputMiniAig().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants