Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using .dll
#1
I'm trying to interface with an FPGA development board using python instead of C#. There is a .dll file that contains much of the interface to the board and chip. How do I (if possible) include and use the .dll in my python program? I just don't have time to learn C# and I like python/scipi/matplotlib etc.
Thanks
Mark
Reply
#2
check pywin32

the docs are scarce
here is a link to rather outdated book on the package https://doc.lagout.org/programmation/pyt...-03%5D.pdf
Another option is comtypes
https://pythonhosted.org/comtypes/#creat...om-objects
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
Thanks Buran, I'll check it out.
Reply
#4
Look at PYNQ.
Should maybe be able to look at .dll and rewrite it in PYNQ environment.
Build and Program FPGA-Based Designs Quickly with Python and Jupyter Notebooks
epif18 likes this post
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020