------------------------------------------------------------------------------ -- -- This package was developed by CAD Language Systems, Inc. as part of an -- effort to define a basis for portable VHDL models. It has been submitted -- to the VHDL Design Exchange Group (VDEG) to be considered as the basis for -- a set of industry-wide, portable modeling conventions. -- -- This package defines a set of timing selector functions that can be -- supported on many simulators. -- -- HISTORY: -- 11-MAY-89 PJM Updated to reflect May 9-10 VDEG consensus. -- 22-APR-89 SSS Created. -- ------------------------------------------------------------------------------ library VDEG_Portable; package Timing is -- An enumeration type defining the selection criterion: type Regime is (Min, Nom, Max); -- Return Vmin, Vnom, or Vmax depending on some selection criterion: function MNM (Vmin, Vnom, Vmax: Time; Which: Regime) return Time; -- Return Vmin or Vmax depending on some selection criterion: function MM (Vmin, Vmax: Time; Which: Regime) return Time; -- Return Vmin or Vnom depending on some selection criterion: function MN (Vmin, Vnom: Time; Which: Regime) return Time; -- Return Vnom or Vmax depending on some selection criterion: function NM (Vnom, Vmax: Time; Which: Regime) return Time; end Timing;