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

How to generate the BLIF file. #1

Open
JarvisPei opened this issue Apr 10, 2023 · 2 comments
Open

How to generate the BLIF file. #1

JarvisPei opened this issue Apr 10, 2023 · 2 comments

Comments

@JarvisPei
Copy link

Hello. I am trying to generate the BLIF files as in this repo's Benchmarks folder. I take the original verilog file in VTR repository and use yosys and ABC to generate the BLIF file. However, I find that the AIG nodes number are much more larger then that in your benchmarks. Therefore, could you please tell me how do you generate the BLIF files? Please help me to solve it, thanks!

@ycunxi
Copy link
Contributor

ycunxi commented Apr 11, 2023

there two sets of DSP benchmark, one is hard-logic and the other is soft-logic. you might want to give a try on the other set you have not tried.

@sun123-cmd
Copy link

Hello. I am trying to generate the BLIF files as in this repo's Benchmarks folder. I take the original verilog file in VTR repository and use yosys and ABC to generate the BLIF file. However, I find that the AIG nodes number are much more larger then that in your benchmarks. Therefore, could you please tell me how do you generate the BLIF files? Please help me to solve it, thanks!

Hello!
You can try the following script with yosys:

This is script of tool.ys:

read_verilog adder.v
synth -top adder
write_blif adder.blif

And you can simply get .blif file with running yosys tool.ts

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