I have a compilation script I run before simulating on QuestaSim 10.7:
vcom -vhdl -2008 my_lib -check_synthesis src/mux.vhd
vcom -vhdl -2008 my_lib -check_snythesis src/clockdivdeby2.vhd
...
I receive an output on terminal as follows:
vcom -vhdl -2008 my_lib -check_synthesis src/mux.vhd
-- Loading package STANDARD
-- Loading package TEXTIO
-- Loading package std_logic_1164
-- Loading package std_logic_arith
-- Loading package STD_LOGIC_UNSIGNED
-- Compiling entity eop_counter_tb
-- Compiling architecture rtl of eop_counter_tb
-- Loading entity eop_counter
End time: HH:MM:SS on Mon, DY, YEAR, Elapsed time: 0:00:00
Errors: 0, Warnings: 0
vcom -vhdl -2008 my_lib -check_synthesis src/mux2.vhd
-- Loading package STANDARD
-- Loading package TEXTIO
-- Loading package std_logic_1164
-- Loading package std_logic_arith
-- Loading package STD_LOGIC_UNSIGNED
-- Compiling entity eop_counter_tb
-- Compiling architecture rtl of eop_counter_tb
-- Loading entity eop_counter
** Error: src/mux2.vhd (LINE NUMBER): something something, bad syntax
End time: HH:MM:SS on Mon, DY, YEAR, Elapsed time: 0:00:00
Errors: 1, Warnings: 0
I was wondering, is it possible to suppress the output message of loading and compiling and timing? I would like to know the errors and warnings however. Something like this:
vcom -vhdl -2008 my_lib -check_synthesis src/mux.vhd
Errrors: 0, Warnings: 0
vcom -vhdl -2008 my_lib -check_synthesis src/badfile.vhd
** Error: src/badfile.vhd(LINE NUMBER): something something, bad synthax
Errrors: 1, Warnings: 0
I do know that the whole output can be logged. However, I wanted to know right away if there are any errors instead of opening the file and searching for it in the log file.