MyHDL is a Hardware Description Language based on Python. Last year I packaged it for Ubuntu Karmic Koala (here the blog post) and put it on my Launchpad Personal Package Archive (PPA) in order to be installed by everyone.
Today I ported MyHDL 0.6 to Ubuntu Lucid Lynx; to install it, run from the command line:
$ sudo add-apt-repository ppa:balau82/ppa $ sudo apt-get update $ sudo apt-get install myhdl
If you already installed MyHDL on Ubuntu Karmic and upgraded to Ubuntu Lucid it means that all the PPA entries have been disabled, and they need to be added again before updating MyHDL. To update MyHDL, run from the command line:
$ sudo add-apt-repository ppa:balau82/ppa $ sudo apt-get update $ sudo apt-get upgrade
To check that everything works, run one of the provided examples:
$ cd /usr/share/doc/myhdl/examples/rs232 $ python test_rs232.py Find min/max tx baud rate tolerance by simulation ... Max tx baudrate: 10160 Min tx baudrate: 9095 ok Check default case ... ok Check odd parity ... ok Expect a parity error ... ok Check 7 bits with even parity ... ok ---------------------------------------------------------------------- Ran 5 tests in 29.275s OK
Happy coding!
Posted on 2010/06/02
0