[myhdl-list] Move to ast package completed
Brought to you by:
jandecaluwe
From: Jan D. <ja...@ja...> - 2009-05-10 09:02:53
|
In the past weeks, I have completed the move to the ast package to replace the compiler package. This is done in the default development branch and requires Python 2.6. It was necessary to prepare for the future, as the compiler package is deprecated. With this rewrite, we are ready for new developments including the eventual move to Python 3.x. This has been an intensive major rewrite with (hopefully) no changes to MyHDL users :-(. With a thing like this, there's no choice but to "jump" at a certain point. Initially, everything breaks down and all unit tests fail. They have to be conquered again, one at a time. The unit tests proved their merit. When one started working, typically the others still failed. This means that they test different things of the implementation, as they should. It is very well possible that you will still find conversion errors with your code. This would mean that the unit test suite is not complete enough. This is a good time to check this. If you find errors that were not there previously, additional unit tests will have to be written. I would appreciate if some of you would try the new code on your designs. However - this requires updating to the default branch in development, and it requires Python 2.6 (imposed by the ast package). There's no hurry. However, new convertor developments will be based on the new code. Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Python as a HDL: http://www.myhdl.org VHDL development, the modern way: http://www.sigasi.com Analog design automation: http://www.mephisto-da.com World-class digital design: http://www.easics.com |