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

Create a Python library for working with DUH? #56

Open
mithro opened this issue Sep 28, 2019 · 4 comments
Open

Create a Python library for working with DUH? #56

mithro opened this issue Sep 28, 2019 · 4 comments

Comments

@mithro
Copy link

mithro commented Sep 28, 2019

Many HDLs are written in Python (see http://bit.ly/pyfgpalibs for example). It would be awesome to have a good Python library for working with DUH.

@mithro
Copy link
Author

mithro commented Sep 28, 2019

FYI -- There are a couple of Python libraries for IPXACT

@mithro
Copy link
Author

mithro commented Sep 28, 2019

A good python library for working with DUH is probably required for FuseSoC integration?

@olofk
Copy link

olofk commented Nov 21, 2019

I agree that a Python library would be very good to have. Since it's pretty much a 1 to 1 mapping with IP-XACT it would probably not be too much work to add import/export to ipyxact. I'll look into that when I can find some time

For use with FuseSoC, a Python lib is actually not required. The FuseSoC generator interface is language agnostic and only requires the generator to read and write a yaml file

@drom
Copy link
Member

drom commented Nov 21, 2019

There are several Python libraries using DUH. It would be easy to take https://github.com/sifive/duhportinf as an example. We have DUH <-> IP-XACT translation project and I don't see a need to duplicate it in Python just for sake of having it in Python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants