Package: AlertLogPkg

Constants

Name Type Value Description
ALERTLOG_BASE_ID AlertLogIDType 0 Careful as some code may assume this is 0.
ALERTLOG_DEFAULT_ID AlertLogIDType ALERTLOG_BASE_ID + 1
OSVVM_ALERTLOG_ID AlertLogIDType ALERTLOG_BASE_ID + 2 reporting for packages
REQUIREMENT_ALERTLOG_ID AlertLogIDType ALERTLOG_BASE_ID + 3
OSVVM_SCOREBOARD_ALERTLOG_ID AlertLogIDType OSVVM_ALERTLOG_ID May have its own ID or OSVVM_ALERTLOG_ID as default - most scoreboards allocate their own ID
ALERT_DEFAULT_ID AlertLogIDType ALERTLOG_DEFAULT_ID Same as ALERTLOG_DEFAULT_ID
LOG_DEFAULT_ID AlertLogIDType ALERTLOG_DEFAULT_ID
ALERTLOG_ID_NOT_FOUND AlertLogIDType -1 alternately integer'right
ALERTLOG_ID_NOT_ASSIGNED AlertLogIDType -1
MIN_NUM_AL_IDS AlertLogIDType 32 Number IDs initially allocated

Types

Name Type Description
AlertLogIDVectorType array (integer range <>) of AlertLogIDType
AlertType (FAILURE,
ERROR,
WARNING)
NEVER
AlertCountType
AlertEnableType
LogType (ALWAYS,
DEBUG,
FINAL,
INFO,
PASSED)
NEVER -- See function IsLogEnableType
LogEnableType

Functions

Description

Alert always goes to the transcript file

Description

Description

Similar to assert, except condition is positive

Description

Direct replacement for assert

Description

overloading for common functionality

Description

Simple Diff for file comparisons

Description

----------------------------------------------------------

Description

Description

Description

Description

Description

Without AlertLogID

Description

Description

Support for Specification / Requirements Tracking

Description

Description

log filtering for verbosity control, optionally has a separate file parameter

Description

Alert Enables

Description
Log Enables

Description
same as GetLogEnable

Description
synthesis translate_on

Description
synthesis translate_on

Description

synthesis translate_on

Accessor Methods

Description

Description
File Reading Utilities

Description
String Helper Functions -- This should be in a more general string package

Description

MetaMatch
Similar to STD_MATCH, except
it returns TRUE for U=U, X=X, Z=Z, and W=W
All other values are consistent with STD_MATCH
MetaMatch, BooleanTableType, and MetaMatchTable are derivatives
of STD_MATCH from IEEE.Numeric_Std copyright by IEEE.
Numeric_Std is also released under the Apache License, Version 2.0.

Coding Styles were updated to match OSVVM

Description
synthesis translate_on


Deprecated

deprecated

Description
deprecated

Description
deprecated