Launch ModelSim shell file

Discussion in 'VHDL' started by wolfy_, Nov 18, 2010.

  1. wolfy_

    wolfy_

    Joined:
    Nov 18, 2010
    Messages:
    2
    Hi,

    I am trying to launch ModelSim from a file because I need to launch three separate ModelSim at the same time.
    I created the file pre_compile.sh:

    Code:
    #!/bin/sh
    vlib work
    vcom Digital1101.vhd Digital1111.vhd NOT_rsvd.vhd
    vsim -foreign "simlinkserver solaris32/liblfmhdls_gcc412.so;-socket 5678"-novopt Digital1111 &
    vsim -foreign "simlinkserver solaris32/liblfmhdls_gcc412.so;-socket 5679"-novopt Digital1101 &
    vsim -foreign "simlinkserver solaris32/liblfmhdls_gcc412.so;-socket 5680"-novopt NOT_rsvd &
    but when I call the file. / pre_compile.sh it compiles the files .vhd but ModelSim will not start.

    I think the problem is with the symbol &

    Is there any solution that can help me?

    Thanks
    wolfy_, Nov 18, 2010
    #1
    1. Advertising

  2. wolfy_

    wolfy_

    Joined:
    Nov 18, 2010
    Messages:
    2
    I think I have found the solution

    Code:
    vlib work
    vcom Digital1101.vhd Digital1111.vhd NOT_rsvd.vhd
    vsim -foreign "simlinkserver solaris32/liblfmhdls_gcc412.so;-socket 5678"-novopt Digital1111 Digital1101 NOT_rsvd
    So when the ModelSim launch it run's with all blocks in the same socket
    wolfy_, Nov 25, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. clinton__bill@hotmail.com

    can I run unix shell command in the ModelSim shell?

    clinton__bill@hotmail.com, Feb 18, 2005, in forum: VHDL
    Replies:
    2
    Views:
    5,653
    Jonathan Bromley
    Feb 18, 2005
  2. pincopallo_it@yahoo.it

    launch shell from java

    pincopallo_it@yahoo.it, Jan 24, 2007, in forum: Java
    Replies:
    1
    Views:
    349
    Gordon Beaton
    Jan 24, 2007
  3. Christian Heimes
    Replies:
    0
    Views:
    583
    Christian Heimes
    Feb 27, 2008
  4. Samuel A. Falvo II
    Replies:
    0
    Views:
    472
    Samuel A. Falvo II
    Oct 8, 2008
  5. gniagnia
    Replies:
    3
    Views:
    138
    Joe Smith
    Feb 21, 2007
Loading...

Share This Page