-- -------------------------------------------------------------------------- -- -- Title : Draft Standard VHDL 1076.1.1 Packages for Multiple Energy -- : Domain Support. -- -- Library : This package shall be compiled into a library symbolically -- : named IEEE. -- -- Developers : IEEE 1076.1.1 Working Group -- -- Purpose : This package contains declarations for modeling in the -- : radiant energy domain. -- -- Note : -- -- -------------------------------------------------------------------------- -- Modification History : -- -- Version Date Description -- 1.0 6 July 2001 Original version. -- 1.1 4 March 2002 FDL 2001 & BMAS 2001 revisions -- 1.2 31 Aug 2002 DAC 2002 revisions -- 1.3 30 Sep 2002 FDL 2002 revisions -- -------------------------------------------------------------------------- library IEEE; use IEEE.FUNDAMENTAL_CONSTANTS.all; package RADIANT_SYSTEMS is -- type declarations -- subtype declarations subtype ILLUMINANCE is REAL tolerance "DEFAULT_ILLUMINANCE"; subtype OPTIC_FLUX is REAL tolerance "DEFAULT_OPTIC_FLUX"; -- attribute declarations attribute UNIT of ILLUMINANCE : subtype is "candela"; attribute UNIT of OPTIC_FLUX : subtype is "lumen"; -- SYMBOL is abbreviation of UNIT attribute SYMBOL of ILLUMINANCE : subtype is "can"; attribute SYMBOL of OPTIC_FLUX : subtype is "lum"; -- nature declarations nature RADIANT is ILLUMINANCE across OPTIC_FLUX through RADIANT_REF reference; nature RADIANT_VECTOR is array (NATURAL range <>) of RADIANT; -- vector subtype declarations subtype ILLUMINANCE_VECTOR is RADIANT_VECTOR'across; subtype OPTIC_FLUX_VECTOR is RADIANT_VECTOR'through; -- attribute declarations attribute UNIT of ILLUMINANCE_VECTOR : subtype is "candela"; attribute UNIT of OPTIC_FLUX_VECTOR : subtype is "lumen"; -- SYMBOL is abbreviation of UNIT attribute SYMBOL of ILLUMINANCE_VECTOR : subtype is "can"; attribute SYMBOL of OPTIC_FLUX_VECTOR : subtype is "lum"; -- subnature declarations -- object declarations -- operation declarations (e.g., subprograms) -- alias declarations end package RADIANT_SYSTEMS;