After running the “Compilation” step, the python library will generated in the “build/cli” path and named with “imap.python--x86_64-linux-gnu.so”, for example, if your python version is 3.7, then is 37.
It is necessary to run the EngineIMAP with the generated python library.
1. cd <path>/imap/ai_infra
2. rm lib/imap.cpython-<PYHTON-VERSION>-x86_64-linux-gnu.so
3. cp <path>/imap/build/cli/imap.cpython-<PYHTON-VERSION>-x86_64-linux-gnu.so ./lib
Then, the EngineIMAP in imap_engine.py will be activated, and you can run with your python:
python demo.py <path_aig>
Notes: You can modify the apis in “cli” folder of imap to let it support your modified algorithms before activating your python APIs.
WIP
Yosys + imap;
Sequential circuit;
ASIC technology mapping;
Contact us
Peng Cheng Laboratory / iEDA group
Peking University / Center for Energy-Efficient Computing and Applications
Shanghai Anlogic Infotech CO., LTD.
If you have any question, please feel free to submit issues, or just send an email to “nlwmode AT gmail DOT com”.
iMAP
Features
Compilation
After compilation, the binary will be stored in the ${project_path}/bin/ directory.
Usages
The above step-by-step interactive execution can be performed at a time as shown below:
Activated your python APIs
After running the “Compilation” step, the python library will generated in the “build/cli” path and named with “imap.python--x86_64-linux-gnu.so”, for example, if your python version is 3.7, then is 37.
It is necessary to run the EngineIMAP with the generated python library.
Then, the EngineIMAP in imap_engine.py will be activated, and you can run with your python:
Notes: You can modify the apis in “cli” folder of imap to let it support your modified algorithms before activating your python APIs.
WIP
Contact us
If you have any question, please feel free to submit issues, or just send an email to “nlwmode AT gmail DOT com”.