[dvsim] Add GUI mode for running simulations

The adds support for running simulations in GUI mode. This change plumbs
the dvsim switch `--gui` to the underlying tools. With VCS and Xcelium,
the respective GUI windows will open, exposing the UCLI prompt, where
the user can take control of running the simulation (debugging, adding
breakpoints etc).

If GUI mode is enabled and multiple tests are provided for run, it picks
the first and drops everything else. The onus is on the user to pick
correctly (pass a single test with `--items` and a specific seed with
`--seed`).

Further, in GUI mode, it drops the pass and fail patterns, since the
whole simulation is run from inside the tool (the log file is not
generated).

Only VCS and Xcelium are currently fully supported. For all others,
`--gui` has no effect.

Signed-off-by: Srikrishna Iyer <sriyer@google.com>
diff --git a/util/dvsim/dvsim.py b/util/dvsim/dvsim.py
index e0261ea..d42b5bc 100755
--- a/util/dvsim/dvsim.py
+++ b/util/dvsim/dvsim.py
@@ -402,6 +402,11 @@
                         help=('The options for each build_mode in this list '
                               'are applied to all build and run targets.'))
 
+    disg.add_argument("--gui",
+                      action='store_true',
+                      help=('Run the flow in interactive mode instead of the '
+                            'batch mode.'))
+
     rung = parser.add_argument_group('Options for running')
 
     rung.add_argument("--run-only",