litex_sim: Generate gtkw_savefile only with --trace.
This commit is contained in:
parent
782744bae3
commit
12c93ea895
|
@ -456,6 +456,7 @@ def main():
|
||||||
|
|
||||||
# Build/Run ------------------------------------------------------------------------------------
|
# Build/Run ------------------------------------------------------------------------------------
|
||||||
def pre_run_callback(vns):
|
def pre_run_callback(vns):
|
||||||
|
if args.trace:
|
||||||
generate_gtkw_savefile(builder, vns, args.trace_fst)
|
generate_gtkw_savefile(builder, vns, args.trace_fst)
|
||||||
|
|
||||||
builder_kwargs["csr_csv"] = "csr.csv"
|
builder_kwargs["csr_csv"] = "csr.csv"
|
||||||
|
|
Loading…
Reference in New Issue