steveicarus/iverilog — pull request #42 by orsonmmz (2014-09-15 15:31:52+00:00)
Title: Enable constant initializers that require elaboration in packages.

The main purpose of the proposed patch is to allow expressions that require elaboration to be used as constant initializers in packages.
It is achieved by skipping the emission of constants when a package is processed (otherwise it might end up with errors, if an initalizer requires elaboration). Instead, constant initializers are elaborated once .vhd file contains a "use" directive that loads the package.