From 25b1be719ea81372dc101b37a7f6b532ee8371d9 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Wed, 24 Jul 2024 06:51:29 +0200 Subject: [PATCH] switches to FST tracing --- Modulefile | 3 ++- src/sc_main.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Modulefile b/Modulefile index ae8b068..cba8249 100644 --- a/Modulefile +++ b/Modulefile @@ -14,4 +14,5 @@ if { $distro == "CentOS" && ![info exists ::env(PROJECT)] && ![info exists ::env module load tools/gcc-riscv64-unknown-elf/13 module load tools/cmake -module load tools/utilities \ No newline at end of file +module load tools/utilities +module load tools/scviewer \ No newline at end of file diff --git a/src/sc_main.cpp b/src/sc_main.cpp index a6e97cb..78d9fbd 100644 --- a/src/sc_main.cpp +++ b/src/sc_main.cpp @@ -75,7 +75,7 @@ int sc_main(int argc, char *argv[]) { auto tx_trace_type = static_cast(trace_level >> 1); // bit3-bit1 define the kind of transaction trace auto trace_default_on = parser.is_set("trace-default-on"); cfg.set_value("$$$scc_tracer$$$.tx_trace_type", static_cast(scc::tracer::file_type::FTR)); - cfg.set_value("$$$scc_tracer$$$.sig_trace_type", static_cast(scc::tracer::file_type::SC_VCD)); + cfg.set_value("$$$scc_tracer$$$.sig_trace_type", static_cast(scc::tracer::file_type::FST)); tracer = scc::make_unique(file_name, tx_trace_type, enable_sig_trace, trace_default_on); } ///////////////////////////////////////////////////////////////////////////