+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Full Member level 4
    Points: 1,628, Level: 9

    Join Date
    May 2014
    Posts
    190
    Helped
    19 / 19
    Points
    1,628
    Level
    9

    Modelsim vsim-3033 error can't find instantiation is the -L handle broken?

    The following is the dump

    vsim -L work test.sd_cmd_master_tb
    # vsim -L work test.sd_cmd_master_tb
    # Start time: 16:38:27 on Jan 03,2018
    # Loading sv_std.std
    # Loading test.sd_cmd_master_tb
    # ** Error: (vsim-3033) ../../../bench/verilog/sd_cmd_master_tb.sv(72): Instantiation of 'sd_cmd_master' failed. The design unit was not found.
    # Time: 0 ps Iteration: 0 Instance: /sd_cmd_master_tb File: ../../../bench/verilog/sd_cmd_master_tb.sv
    # Searched libraries:
    # C:/fpgamason/memory/sd_card_controller/trunk/sim/rtl_sim/run/test
    # C:/fpgamason/memory/sd_card_controller/trunk/sim/rtl_sim/run/test

    Notice that it doesn't look in the work library but rather the test library twice.

    to put into context the following works

    vmap diff_name work
    vsim -L diff_name test.sd_cmd_master_tb
    # vsim -L diff_name -L test test.sd_cmd_master_tb
    # Start time: 16:46:34 on Jan 03,2018
    # Loading sv_std.std
    # Loading test.sd_cmd_master_tb
    # Loading diff_name.sd_cmd_master

    •   Alt3rd January 2018, 17:49

      advertising

        
       

  2. #2
    Super Moderator
    Points: 27,966, Level: 40
    ads-ee's Avatar
    Join Date
    Sep 2013
    Location
    USA
    Posts
    6,386
    Helped
    1548 / 1548
    Points
    27,966
    Level
    40

    Re: Modelsim vsim-3033 error can't find instantiation is the -L handle broken?

    I never use -L with the work library it's modelsim's default library and I've noticed it has a different behavior than libraries that are vmap'd (and therefore show up in the modelsim.ini file. There is an existing forum member that is employed by Mentor that can probably explain this in more detail.



--[[ ]]--