Skip to content

Commit

Permalink
Fix tracer file type which should be used to decide the output format.
Browse files Browse the repository at this point in the history
  • Loading branch information
rockindy committed Aug 7, 2024
1 parent 4f27c76 commit 1cf4200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sysc/scc/tracer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ tracer::tracer(std::string const&& name, file_type tx_type, file_type sig_type,
if(sig_type == ENABLE)
sig_type = static_cast<file_type>(sig_trace_type.get_value());
if(sig_type != NONE) {
switch(sig_type) {
switch(tx_type) {
default:
trf = sc_create_vcd_trace_file(name.c_str());
break;
Expand Down

0 comments on commit 1cf4200

Please sign in to comment.