Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: PyCircTools – Build digital circuits using Python (github.com/lovethefrogs)
22 points by LovetheFrogs on July 16, 2022 | hide | past | favorite | 5 comments
Iḿ developing a python package which allows to develop digital circuits. It currently has modules for logic gates, multiplexers and latches; and the next version will include adders, shift registers, and even a simple ALU! Check it out on github.


If you are focusing exclusively on digital logic, why not just use HDL?

Something like

https://github.com/myhdl/myhdl

or

https://github.com/m-labs/migen


Because a lot of people know python and don't want to bother learning anything else.... (Not saying it's a good thing or that it applies to author, chances are this is for fun).


Then there's Amaranth[1] which is an HDL written in Python

[1]: https://github.com/amaranth-lang


I just wanted to create a library for python, so people didn’t have to learn a new language. It also comes from my personal dislike for VHDL ahahaha


Btw, I've just released version 1.0.0, which means the project is now on the state I thought of it when I started developing. I encourage all of you to check it out :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: