From 214cf5896e52fda09c26c99632f6bfcc5087d704 Mon Sep 17 00:00:00 2001 From: Ionut Podgoreanu Date: Tue, 2 Aug 2022 11:01:40 +0100 Subject: [PATCH] library/common: Enable automatic logging of simulation output --- library/common/tb/run_tb.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/common/tb/run_tb.sh b/library/common/tb/run_tb.sh index 81538a88d..c56359a3f 100644 --- a/library/common/tb/run_tb.sh +++ b/library/common/tb/run_tb.sh @@ -17,7 +17,8 @@ case "$SIMULATOR" in xvlog -log ${NAME}_xvlog.log --sourcelibdir . ${SOURCE} xelab -log ${NAME}_xelab.log -debug all ${NAME} if [[ "$MODE" == "-gui" ]]; then - echo "run all" > xsim_gui_cmd.tcl + echo "log_wave -r *" > xsim_gui_cmd.tcl + echo "run all" >> xsim_gui_cmd.tcl xsim work.${NAME} -gui -tclbatch xsim_gui_cmd.tcl -log ${NAME}_xsim.log else xsim work.${NAME} -R -log ${NAME}_xsim.log