python - Is wxPython good for a Hardware Simulator? -
for computer architecture assignment, trying replace c++ library called "sim" in python.
i using myhdl simulator, c++ program has nice interactive feature lets students see components connected (gates, inputs, outputs, flip flops, etc.) , toggle signal.
i attempting create interactive aspect , need pick library use. wondering if wxpython choice in case. gui needs draw gates or devices flip flops , counters, use lines connect them, , have representation of signals (0 , 1 instance or black , white).
is wxpython idea, or there better libraries application?
it sounds you're simulating logic circuits? depending on kind of ui looking for, i'd wxpython job. may not need that, however.
most python distributions include tkinter, simple gui library. there example here of existing (albeit old) digital circuit simulator written in python using tkinter , pmw:
http://cvs.savannah.gnu.org/viewvc/pydcs/?root=pydcs
i suggest taking @ pygame. although it's billed game development library, it's quite fantastic creating simulations of kinds.
Comments
Post a Comment