2.1.3.4.1 Probability-Based ECC Flag Assertion
(Ask a Question)With this feature, ECC flags are asserted depending on the probability
parameter provided by you through vsim commands. The read data is
unaffected by the flag behavior and is always corrected in the simulation regardless of
the flag state.
The added logic also ensures that the flag outputs from the PF_TPSRAM block are always assigned a value and do not become unknown during periods when the read enable is not asserted high. For more information, see Libero SoC v11.9 SP2, v11.9 SP3, or Libero SoC v12.1 release notes.
Enable the simulation to report errors, the following options must be
added to the vsim command. These are set on the command-line when
entering the vsim command or through the Libero Project settings as
shown in the following figure.
- -gERROR_PROBABILITY
-
- Legal values are
-0<=value<=1. - The simulation uses a random number generator and compares its value
with the value assigned to
ERROR_PROBABILITY. SB_CORRECTasserted= "1"indicates a single bit error has occurred.- The assertion rate of
SB_CORRECTis directly related to the value ofERROR_PROBABILITY. Increasing the value, results inSB_CORRECTbeing asserted more often and decreasing the value, results inSB_CORRECTbeing asserted less often.
- Legal values are
- -gCORRECTION_PROBABILITY
-
- Legal values are
-0<=value<=1. - The simulation uses a
random number generator and compares its value with the value assigned
to
DB_DETECTasserted= "1"indicates more than one bit error has occurred and could not be corrected. ERROR_CORRECTION- The assertion rate of
DB_DETECTis inversely related to the value ofCORRECTION_PROBABILITY. Increasing the value results inDB_DETECTbeing asserted less often and decreasing the value results inDB_DETECTbeing asserted more often.
- Legal values are
