Re: [myhdl-list] Conversion Example Error in 0.7 Manual
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2011-06-09 23:24:18
|
On 6/9/2011 4:29 PM, Jan Decaluwe wrote: > On 06/09/2011 12:59 PM, Christopher Felton wrote: >> A new user to MyHDL was trying to convert one of the examples in the >> manual on pages 67-68 in the pdf version for release 0.7 >> (conversion_examples.rst) >> http://www.myhdl.org/doc/current/manual/conversion_examples.html. >> >> The example failed to convert for a "output port read internally" error. >> This error only appears to occur with the 0.7 release. This might be >> a known issue. >> >> With the latest hg repo, 0.8dev, the error does not occur but rather a >> warning. > > Are you sure? I quickly investigated the repo, and it seems that > this was always a warning. At some point however, there was no > warning and the VHDL would be incorrect because it generated > an 'out' instead of an 'inout'. But that's quite some time ago. > > Jan > Nope, not sure. Looking at it again I am in error. It was something much more basic. When the acquaintance copied the example from the pdf version of the document, (from page 67-68 of: http://www.myhdl.org/lib/exe/fetch.php/doc:myhdl.pdf), his copy started at the def and did not include the ACTIVE_LOW ... line. When I quickly (ahh, there's the issue, quickly) read his stack trace I combined the warning with all the other stuff and jumped to the wrong conclusion. All this was in an IM (chat) so when I sent a modified version back to test I didn't even notice I copied it correctly where as he copied it incorrectly. In summary, there is no error in the example, just the possibility to cut-n-paste incorrectly :) Sorry for the distraction, thanks for checking. Chris |