Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: tcl commands in Altera Modelsim

  1. #11
    Join Date
    Jun 2013
    Location
    The Netherlands
    Posts
    417
    Rep Power
    1

    Default Re: tcl commands in Altera Modelsim

    Hello Dave,
    As I have neither a Mentor ID nor a service contract I would greatly appreciate if you would ask them.
    [edit]
    For now I launch Modelsim from the command line executing vsimk
    Code:
     intelFPGA_lite/16.1/modelsim_ase/linux/vsimk
    gets gets input from the terminal so I can use it but I need to use the terminal and transcript at the same time.
    [/edit]
    Last edited by PietervanderStar; January 9th, 2017 at 06:34 AM. Reason: extra info

  2. #12
    Join Date
    Dec 2016
    Location
    San Diego
    Posts
    2
    Rep Power
    1

    Default Re: tcl commands in Altera Modelsim

    When you start vsim, try to use the "-gui" option, like "vsim -gui"

  3. #13
    Join Date
    Jun 2013
    Location
    The Netherlands
    Posts
    417
    Rep Power
    1

    Default Re: tcl commands in Altera Modelsim

    Quote Originally Posted by cyg View Post
    When you start vsim, try to use the "-gui" option, like "vsim -gui"
    That is indeed the solution for me, thanks.

  4. #14
    Join Date
    Aug 2005
    Location
    California
    Posts
    4,527
    Rep Power
    1

    Default Re: tcl commands in Altera Modelsim

    I just tried this under Windows 7 with Quartus 15.0 Modelsim 10.3d. I started a NIOS II IDE shell first, used 'which vsim' to confirm I was going to run the correct version of Modelsim, and then ran 'vsim', without the -gui option. The Modelsim GUI console output was:
    Code:
    ModelSim> puts "Hello!"
    ModelSim> echo "Hello!"
    # Hello!
    The first "Hello!" was printed on the NIOS II IDE shell command-line.

    Adding the -gui option redirects the output to the GUI console.

    Thanks for posting your solution, it works great!

    Cheers,
    Dave

Similar Threads

  1. Difference between Altera Modelsim and Modelsim by Mentor?
    By cttmoon in forum Quartus II and EDA Tools Discussion
    Replies: 6
    Last Post: March 16th, 2010, 03:27 AM
  2. altera aware tcl interpreter
    By fruehwirth in forum Quartus II and EDA Tools Discussion
    Replies: 1
    Last Post: November 27th, 2009, 12:35 AM
  3. ModelSim TCL Scripts
    By tjsrh7 in forum Quartus II and EDA Tools Discussion
    Replies: 2
    Last Post: July 27th, 2009, 12:28 AM
  4. Modelsim Altera 6.1g
    By shah_Satish2002 in forum Quartus II and EDA Tools Discussion
    Replies: 12
    Last Post: May 8th, 2009, 02:28 AM
  5. Using ModelSim-Altera with Altera designs
    By rlanier in forum Quartus II and EDA Tools Discussion
    Replies: 11
    Last Post: January 22nd, 2008, 06:01 AM

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
  •