|
From: Stephen W. <st...@ic...> - 2014-12-18 16:28:41
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/17/2014 03:19 AM, Fabrizio Ferrandi wrote: > So having or not having such lines is the same. So, I've created a > patch that should fix the problem. The fix is lazy w.r.t. the > package textio. A better solution is to parse or to exploit > pre-compiled standard libraries. So the first question is: do you > plan to add a support for pre-compiled standard packages? Your patch is applied to git master. To answer your question, my intent was to handle many of the standard libraries internally. You noticed this in the code that you patched. Types and other declarations can be efficiently compiled into the compiler itself. For many of the more basic types, this is the only reasonable way to do it and I suspect that most VHDL compilers work the same way. For many standard functions, there are straight forward translations to Verilog analogs, so the Icarus Verilog runtime is leveraged, and for others, it is easy enough to make the compiler generate references to system tasks to implement the library functions. So that is where we are heading with the standard libraries. - -- Steve Williams "The woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, http://www.icarus.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep." -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlSTAK4ACgkQrPt1Sc2b3im2QQCg1cftPCti/I9KlW+YrVNYmBac 2iIAoOl9L5WzH461qey8sfqtdM3eHRNP =D5E1 -----END PGP SIGNATURE----- |