In reply to dave_59:
Here is the snippet of log file:
Fatal: (vsim-8044) Illegal 'new' size at file 'file.sv' line 221.
# Time: 103022540 ps Iteration: 13 Process: /ovm_pkg::ovm_sequence::ovm_sequence__1::start/#FORK#162_7fefed8cf3a File: file1.sv
# Fatal error in Function function::post_randomize at file.sv line 221
# HDL call sequence:
# Stopped at file.sv 221 Function function::post_randomize
Currently, I am exploring the jobspy to exit the simulation in such condition.
But, it will take some effort in scripting for automation.
Is there any native tcl command which can be passed through -do option or other way?