mirror of https://github.com/YosysHQ/abc.git
Renamed Aig_ObjIsPi/Po to be ...Ci/Co and Aig_Man(Pi/Po)Num to be ...(Ci/Co)...
This commit is contained in:
parent
fec988f619
commit
7d62ef8fae
|
|
@ -5,13 +5,13 @@ Using AIG Package in ABC
|
|||
- Link the library to the project.
|
||||
- Add #include "saig.h".
|
||||
- Start the AIG package using Aig_ManStart().
|
||||
- Assign primary inputs using Aig_ObjCreatePi().
|
||||
- Assign register outputs using Aig_ObjCreatePi().
|
||||
- Assign primary inputs using Aig_ObjCreateCi().
|
||||
- Assign register outputs using Aig_ObjCreateCi().
|
||||
(it is important to create all PIs first, before creating register outputs).
|
||||
- Construct AIG in the topological order using Aig_And(), Aig_Or(), Aig_Not(), etc.
|
||||
- If constant-0/1 AIG nodes are needed, use Aig_ManConst0() or Aig_ManConst1()
|
||||
- Create primary outputs using Aig_ObjCreatePo().
|
||||
- Create register inputs using Aig_ObjCreatePo().
|
||||
- Create primary outputs using Aig_ObjCreateCo().
|
||||
- Create register inputs using Aig_ObjCreateCo().
|
||||
(it is important to create all POs first, before creating register inputs).
|
||||
- Set the number of registers by calling Aig_ManSetRegNum().
|
||||
- Remove dangling AIG nodes (produced by structural hashing) using Aig_ManCleanup().
|
||||
|
|
|
|||
Loading…
Reference in New Issue