AlertLogPkg (OSVVM 2020.08)

Why OSVVM™? Forums OSVVM AlertLogPkg (OSVVM 2020.08)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1744
    Stefan
    Member

    Hi
    I have two topics concerning the AlertLogPkg:

    1) Only cosmetical: in the procedure AffirmIfEqual, the default String before Expected is “?= Expected” and not “/= Expected” which would match the documentation better (of course I could change that myself)

    2) More serious: I used the SetAlertStopCount procedure to stop the testbench after one error within the model:
    SetAlertStopCount(ERROR, 1); — stop after 1 alert error
    This causes QuestaSim (2019.2) to crash:

    # Current time Fri Nov 27 10:01:46 2020
    # Program = vsim
    # Id = “2019.2”
    # Version = “2019.04”
    # Date = “Apr 16 2019”
    # Platform = “linux_x86_64”
    # Signature = a9dece1699e369c798442ff51861b880
    # …
    # 2 0x00007feff3f01260: ‘/home/adm/stefan.brantschen/svn/2017_03_topvox2020/design_digital/2_hdldesigner/topvox_osvvm_tb_lib/hdl/model_spi_sim.vhd:56’
    # 3 …
    # 5 0x00007feff03b6578: ‘/home/adm/stefan.brantschen/svn/2017_03_topvox2020/design_digital/2_hdldesigner/topvox_osvvm_tb_lib/hdl/tb_topvox_struct.vhd:568’
    # 6 …
    # End of Stack Trace

    model_spi_sim.vhd:56 states: CONSTANT c_inst_name : string := PathTail(model_spi’PATH_NAME);

    Even worse: I declared
    SetAlertStopCount(ERROR, 1); — stop after 1 alert error
    in the test_ctrl-block, so it applies for all models:
    The simulator stopped correctly after one error, but crashed when restarting the sim.

    What do I wrong?

    #1748

    Hi Stefen,

    Regarding topic 2) I think there is a problem with that specific version Questa/ModelSim 2019.2, but I donĀ“t know exactly a reason.
    Try another version (previous or later).

    Best,
    Miroslav

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.