Re: [myhdl-list] Help with initial config of MyHDL on Ubuntu 9.04
Brought to you by:
jandecaluwe
From: Kevin S. <sta...@gm...> - 2010-01-31 03:03:47
|
Chris, Thanks for your help. I actually had to do: hg clone http:/hg.myhdl.org/myhdl myhdl But once I did that, I did: sudo python setup.py install And then ran the rs232. Everything works! Should probably cut a new release... Thanks again! Kevin On Sat, Jan 30, 2010 at 4:51 PM, Christopher Felton <chr...@gm...>wrote: > On 1/30/10 3:34 PM, Kevin Stanton wrote: > > Hi, > > > > I can't seem to find anything on what might be going wrong, but I just > > installed MyHDL and tried to run a few of the examples. > > > > I went into : > > > > cd myhdl-0.6/example/rs232 > > > > and ran: > > > > python test_rs232.py > > > > All of the tests fail, and I get back several errors that look exactly > > like this: > > > > Traceback (most recent call last): > > File "test_rs232.py", line 102, in testCharacterize > > Simulation(self.bench(tx_baud_rate)).run(quiet=1) > > File "/usr/local/lib/python2.6/dist-packages/myhdl/_Simulation.py", > > line 132, in run > > waiter.next(waiters, actives, exc) > > File "/usr/local/lib/python2.6/dist-packages/myhdl/_Waiter.py", line > > 113, in next > > (repr(clause), type(clause))) > > TypeError: yield clause <myhdl._instance._Instantiator object at > > 0xa1a506c> has type <class 'myhdl._instance._Instantiator'> > > > > I am not a novice at VHDL, or Python for that matter, but this error > > message is confusing because it appears to be complaining about a > > TypeError, but the types listed match... > > > > What am I missing? > > Which version of Python do you have? I double checked the rs232 in the > latest dev snapshot with python 2.6 with success. > > You can get the latest development snapshot from > http://www.myhdl.org/doku.php/dev:repo > using mercurial. > > p.s. I also downloaded 0.6 and reproduced the same error, I am not sure > what the error is but it does not fail with the latest development > snapshot. > > Maybe a new release should be cut? Probably would just be a bug fix > release no new major features? > > Hope that helps. > Chris Felton > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list > -- Kevin R. Stanton c | 734•846•3915 e | sta...@gm... |