Table 15–39, Shows – Altera IP Compiler for PCI Express User Manual
Page 276

15–44
Chapter 15: Testbench and Design Example
BFM Procedures and Functions
IP Compiler for PCI Express User Guide
August 2014
Altera Corporation
All of these log message constants are VHDL subtype natural or type integer for
Verilog HDL.
ebfm_display VHDL Procedure or Verilog HDL Function
The ebfm_display procedure or function displays a message of the specified type to
the simulation standard output and also the log file if ebfm_log_open is called.
A message can be suppressed, simulation can be stopped or both based on the default
settings of the message type and the value of the bit mask when each of the
procedures listed below is called. You can call one or both of these procedures based
on what messages you want displayed and whether or not you want simulation to
stop for specific messages.
■
When ebfm_log_set_suppressed_msg_mask is called, the display of the message
might be suppressed based on the value of the bit mask.
Table 15–39. Log Messages Using VHDL Constants - Subtype Natural
Constant (Message Type)
Description
Mask
Bit No
Display
by Default
Simulation
Stops by
Default
Message
Prefix
EBFM_MSG_DEBUG
Specifies debug messages.
0
No
No
DEBUG:
EBFM_MSG_INFO
Specifies informational messages,
such as configuration register
values, starting and ending of
tests.
1
Yes
No
INFO:
EBFM_MSG_WARNING
Specifies warning messages, such
as tests being skipped due to the
specific configuration.
2
Yes
No
WARNING:
EBFM_MSG_ERROR_INFO
Specifies additional information for
an error. Use this message to
display preliminary information
before an error message that stops
simulation.
3
Yes
No
ERROR:
EBFM_MSG_ERROR_CONTINUE
Specifies a recoverable error that
allows simulation to continue. Use
this error for data miscompares.
4
Yes
No
ERROR:
EBFM_MSG_ERROR_FATAL
Specifies an error that stops
simulation because the error leaves
the testbench in a state where
further simulation is not possible.
N/A
Yes
Cannot
suppress
Yes
Cannot
suppress
FATAL:
EBFM_MSG_ERROR_FATAL_TB_ERR
Used for BFM test driver or root
port BFM fatal errors. Specifies an
error that stops simulation because
the error leaves the testbench in a
state where further simulation is
not possible. Use this error
message for errors that occur due
to a problem in the BFM test driver
module or the root port BFM, that
are not caused by the endpoint
application layer being tested.
N/A
Y
Cannot
suppress
Y
Cannot
suppress
FATAL: