Re: [myhdl-list] intbv.wrap()
Brought to you by:
jandecaluwe
From: Christopher L. <loz...@fr...> - 2011-04-18 18:23:27
|
Thank you to Tom Dillon and to Chris Felton for explaining the wrapping stuff. It took me forever to understand it. Now I know why. I totally understand how hardware engineers would want to do that. But for the software engineer, it is a terrible idea. Different people really do see the world differently. As a software guy I just want a 32 bit integer that yields an error condition when it overflows. That is what I expect. And of course if it is made up of a sign object and a mantissa so much the better. I am not trying to change the intbv library. It is perfect for its users. I am just pointing out that we software engineers see the world differently from the hardware engineers. So maybe eventually there can be two different integer libraries, with different models behind them, and maybe different users. Those building application specific circuits would use one, those building generic microprocessors could use the other. Hope that helps. -- Regards Christopher Lozinski Check out my iPhone apps TextFaster and EmailFaster http://textfaster.com Expect a paradigm shift. http://MyHDL.org |