Results 1 to 7 of 7

Thread: Modelsim hanging trying to compile Stratix IP

  1. #1
    Join Date
    Sep 2017
    Posts
    16
    Rep Power
    1

    Default Modelsim hanging trying to compile Stratix IP

    Hi folks, I'm in the process of migrating a design from Quartus 16.1 targeting an Arria 10 to Quartus 18.0 targeting a Stratix 10. Trying to port one of the testbenches that uses the hard floating point IP, modelsim is hanging when doing the following:

    # vlog -reportprogress 300 -sv c:/intelfpga_pro/18.0/quartus/eda/sim_lib/mentor/fourteennm_atoms_ncrypt.sv -work fourteennm_ver

    This appears to be from about three quarters of the way through the "dev_com" step from the generated msim_setup.tcl file. Anyone have any ideas what might be causing it and/or what I need to kick to get it to compile?

    Thanks,
    Andy

  2. #2
    Join Date
    Sep 2017
    Posts
    16
    Rep Power
    1

    Default Re: Modelsim hanging trying to compile Stratix IP

    Update: it's nothing to do with the over-all IP compilation process, the bug is only with compiling fourteennm_atoms_ncrypt.sv. The same hanging behavior occurs when only trying to compile this one file.

  3. #3
    Join Date
    Nov 2017
    Posts
    555
    Rep Power
    1

    Default Re: Modelsim hanging trying to compile Stratix IP

    Hi,

    If your project is compiled and generated using Quartus 16.1 than you may face such issue when trying to simulate using other versions of ModelSim.
    Means we have to use the appropriate version of ModelSim w.r.t Quartus version.
    Hope you are compiling you design and using ModelSim 10.6c with Quartus 18.

    Can you share the project files?

    Let me know if this has helped resolve the issue you are facing or if you need any further assistance.

    Best Regards,
    Anand Raj Shankar
    (This message was posted on behalf of Intel Corporation)

  4. #4
    Join Date
    Sep 2017
    Posts
    16
    Rep Power
    1

    Default Re: Modelsim hanging trying to compile Stratix IP

    There's not any relevant project files to share. Just opening modelsim (10.6c) and entering "vlog -reportprogress 300 -sv c:/intelfpga_pro/18.0/quartus/eda/sim_lib/mentor/fourteennm_atoms_ncrypt.sv -work fourteennm_ver" causes modelsim to get stuck and not print anything more (although it doesn't seem to actually crash...)

  5. #5
    Join Date
    Sep 2017
    Posts
    16
    Rep Power
    1

    Default Re: Modelsim hanging trying to compile Stratix IP

    Further update - the problem actually seems to exist for all of the files with "ncrypt" in the name that the dev_com function wants to try and compile. Also, I just realized I never said but this is running on Windows 10, just in case that makes the slightest difference...

    The other problem files are:
    fourteennm_atoms_ncrypt.sv
    ct1_hssi_atoms_ncrypt.sv
    ct1_hip_atoms_ncrypt.sv

  6. #6
    Join Date
    Sep 2017
    Posts
    16
    Rep Power
    1

    Default Re: Modelsim hanging trying to compile Stratix IP

    Further update - just tried updating to the 18.0.1 patch and still having the same issue...

    Thanks,
    Andy

  7. #7
    Join Date
    Sep 2017
    Posts
    16
    Rep Power
    1

    Default Re: Modelsim hanging trying to compile Stratix IP

    I've now resolved this issue with the help of Altera tech support. If anyone else hits this same problem, there is a bug in the generated msim_setup.tcl file (which should get fixed with a patch at some point...) when using the free Modelsim version. To fix the problem, change the line:

    return [string match "*ModelSim*Intel FPGA Edition*" [ vsimVersionString ]]

    to:

    return [string match "*ModelSim*INTEL*FPGA*EDITION*" [ vsimVersionString ]]

    This is around line 170 in the file.

    Hopefully that'll save someone else some pain!

    Andy

Similar Threads

  1. Quartus / Modelsim Compile Order
    By moserw in forum Quartus II and EDA Tools Discussion
    Replies: 4
    Last Post: December 3rd, 2016, 12:37 AM
  2. Stratix III EP3SE260F1152C2N won't compile in Quartus 2 Web Version 10.1
    By bean_0408 in forum Quartus II and EDA Tools Discussion
    Replies: 4
    Last Post: June 18th, 2015, 08:01 PM
  3. How to compile Altera's libraries into a ModelSim SE in server?
    By buddha1987 in forum Quartus II and EDA Tools Discussion
    Replies: 8
    Last Post: July 22nd, 2012, 05:18 PM
  4. ModelSim SystemVerilog compile error
    By sandy74us in forum Quartus II and EDA Tools Discussion
    Replies: 2
    Last Post: January 31st, 2012, 10:19 AM
  5. ModelSim won't compile package files
    By Liquidalex in forum Quartus II and EDA Tools Discussion
    Replies: 2
    Last Post: September 7th, 2011, 07:01 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •