1 Invoke Mdoelsim
In order to open Modelsim automatically, it's better to use a shell script to invoke Modelsim.
1 #!/bin/bash 2 #----------------------------------------------------------------------------3 # Invoke Modelsim 4 #----------------------------------------------------------------------------5 6 if[$#-eq0]; Then7Cd' The working path of Modelsim'8vsim-gui&9 elif[ $1=="- H"]; ThenTen # Questasim Doc OneEvince/software/ams/current/questasim/v10.3b/docs/pdfdocs/_bk_questa_sim.pdf & A fi
2 three types of quotes
1) Doubel quotes (")
Anything enclose in Doubel quote removed meaning of that chatracter (except \ and $)
2) Single quotes (')
Enclosed in single quotes remains unchanged.
3) Back quote (')
To execute command.
1 Echo "Today is Date" 2 # Today was date3echo "Toaday is ' Date '"4 # today is ' Date'5 echo "today is ' Date '6 # Today is Fr 10. Jul 13:36:04 CEST
Qs's shell script