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

Abc and Yosys support reading from memory #2

Open
rikushoney opened this issue Jul 10, 2024 · 1 comment
Open

Abc and Yosys support reading from memory #2

rikushoney opened this issue Jul 10, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@rikushoney
Copy link
Owner

rikushoney commented Jul 10, 2024

ABC does not support reading/writing BLIF files from memory. This prevents us from skipping the filesystem and directly interfacing with ABC.

ABC's BLIF reading is implemented here (which corrosponds to the read_blif command).

It should be not too difficult to add a new function, e.g. Abc_FrameIoReadBlif, which reads BLIF from a file or string into the current framework instance. Abc_FrameIoWriteBlif should also be added to support writing the current network as BLIF to a file or buffer.

@rikushoney rikushoney self-assigned this Jul 10, 2024
@rikushoney rikushoney added the enhancement New feature or request label Jul 10, 2024
@rikushoney
Copy link
Owner Author

Yosys also does not support reading input from memory.

Currently, run_frontend is used to execute Yosys frontends such as read_verilog and read_blif -- which forces file I/O.

@rikushoney rikushoney changed the title ABC Io_ReadBlifMv for strings Abc and Yosys support reading from memory Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant