A wrapper for colorizing the output of Mentor Graphics QuestaSim messages. The script also allows you to hide some QuestaSim messages (such as: Copyright, Loading Libs, running command, start time, UVM relnotes, UVM packages load).
Supported OS: Linux, Windows (MinGW)
- Copy the colorquestasim.pl file to a directory of your choice.
- Create symbolic links pointing to
colorquestasim.pl
. Name these links the same as the QuestaSim command names. Place these links in a directory that is included in your$PATH
environment variable before the directory containing the actual QuestaSim commands.
cp colorquestasim.pl ~/bin/
cd ~/bin
ln -s colorquestasim.pl vlog
ln -s colorquestasim.pl vopt
ln -s colorquestasim.pl vsim
export PATH="$HOME/bin:$PATH"
cp colorquestasim.pl ~/bin/vlog
cp colorquestasim.pl ~/bin/vopt
cp colorquestasim.pl ~/bin/vsim
export PATH="$HOME/bin:$PATH"
You can override the default settings by creating a configuration file named ~/.colorquestasim
or ~/.colorquestasim_<os_type>
. For more information on available settings, refer to the
comments in the colorquestasim.txt sample file.
Use the QuestaSim vlog
, vopt
, or vsim
commands as you normally would. The colorquestasim
wrapper will automatically colorize the output.
To get the version of the script, run:
<vlog/vopt/vsim> --version
Replace <vlog/vopt/vsim>
with the corresponding symlink created during the installation of the
script (e.g., vlog
, vopt
, or vsim
).
For a list of known issues with QuestaSim version 10.7c on Windows OS (MinGW), see the Issues for QuestaSim version 10.7c on Window OS (MinGW)
This project was inspired by colorgcc.