Re: [myhdl-list] Help with initial config of MyHDL on Ubuntu 9.04
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2010-01-30 22:51:55
|
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 |