lsils / mockturtle

C++ logic network library
MIT License
191 stars 133 forks source link

What if I want to use original ABC with mocktutle? #619

Closed wjrforcyber closed 10 months ago

wjrforcyber commented 10 months ago

I integrate the original ABC in my project and at the same time would like to try mig in mockturtle, the problem is, the namespace seems have conflicts and mocktutle has some of the ABC function defined inside itself, I couldn't figure out how to deal with the conflict of the abc namespace and the pabc namespace.

Any easier way to integrate these two? I have checked show case repo, but didn't find what I want.

lee30sonia commented 10 months ago

I haven't tried to do so before, but a colleague who did it some time ago mentioned that he had to change quite a lot of things to make it work. Unfortunately, we currently don't have a good solution for this. If you do spend the time to make it work, please consider submitting a pull request so that we can merge the changes needed to do such a reasonable integration. Thank you!

wjrforcyber commented 10 months ago

I haven't tried to do so before, but a colleague who did it some time ago mentioned that he had to change quite a lot of things to make it work. Unfortunately, we currently don't have a good solution for this. If you do spend the time to make it work, please consider submitting a pull request so that we can merge the changes needed to do such a reasonable integration. Thank you!

We have managed to do that with tons of Namespace changes which I myself really don't recommend...It would be better if mockturtle could use ABC as a whole lib or a binary like yosys does.

lee30sonia commented 10 months ago

We do not include the entire ABC package for a few reasons: