lsils / mockturtle

C++ logic network library
MIT License
202 stars 136 forks source link

Technology Mapping of sequential aig fails. #598

Closed lesliepy99 closed 1 year ago

lesliepy99 commented 1 year ago

Describe the bug I get an aig of a sequential circuit by abc and yosys, and read in the aig by lorina::read_aiger. However, when I try to run technology mapping and during the step of cut enumeration, I found all the latch nodes have no fanin, and the cut merge step fails.

To Reproduce Steps to reproduce the behavior:

  1. Latest(v0.3).

  2. A complete snippet of your code (usually a cpp file including main). the same code in the example.

  3. The benchmark circuit for which the error occurs: attached (tmp.aig.zip) tmp.aig.zip

  4. segment fault.

Environment

Check list

aletempiac commented 1 year ago

Hi! The issue has been fixed in #599. Nevertheless, sequential network support in Mockturtle is still limited and under development. Hence, you may encounter other similar issues.

lesliepy99 commented 1 year ago

Thanks!