Nov 22, 2010 #1 W wolfy_ Newbie level 2 Joined Nov 22, 2010 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,293 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: 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
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: 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
Nov 22, 2010 #2 S shravan87 Junior Member level 3 Joined May 29, 2010 Messages 29 Helped 11 Reputation 22 Reaction score 11 Trophy points 1,283 Location USA Activity points 1,441 Modelsim has a particular syntax that lets you run scripts. I'm not sure about this, you can check this in the manual. Try: vsim <top_level> -do sim.do This loads the top level, and modelsim reads the sim.do file. This file should obviously only have modelsim instructions and no shell instructions.
Modelsim has a particular syntax that lets you run scripts. I'm not sure about this, you can check this in the manual. Try: vsim <top_level> -do sim.do This loads the top level, and modelsim reads the sim.do file. This file should obviously only have modelsim instructions and no shell instructions.
Nov 23, 2010 #3 L ljxpjpjljx Advanced Member level 3 Joined May 5, 2008 Messages 968 Helped 80 Reputation 162 Reaction score 56 Trophy points 1,308 Location Shang Hai Activity points 4,679 yes, you can write the modelsim command to load vhdl code!
Nov 25, 2010 #4 W wolfy_ Newbie level 2 Joined Nov 22, 2010 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,293 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
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