Project

General

Profile

[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  SVN::S4
  Voneline
  WFH
General Info
  Papers

Issue #1307

Can not dump trace with CMAKE compiled SystemC library

Added by Enzo Chi over 1 year ago. Updated 3 months ago.

Status:
NotEnoughInfo
Priority:
Normal
Assignee:
Category:
WrongRuntimeResult
% Done:

0%


Description

On verlator version 3.922

I have SystemC 2.3.2 compiled using the CMakeLists provided in that release package. And compile the tracing_sc with that and it only produce vcd file as below without tracing time information.

$version Generated by VerilatedVcd $end
$date Sun May  6 20:36:08 2018
 $end
$timescale   1ps $end

 $scope module top $end
  $scope module top $end
   $var wire  1 # clk $end
   $var wire  1 $ fastclk $end
   $var wire 40 - in_quad [39:0] $end
   $var wire  2 , in_small [1:0] $end
   $var wire 70 / in_wide [69:0] $end
   $var wire 40 ' out_quad [39:0] $end
   $var wire  2 & out_small [1:0] $end
   $var wire 70 ) out_wide [69:0] $end
   $var wire  1 % reset_l $end
   $scope module sub $end
    $var wire  1 # clk $end
    $var wire 32 2 count_c [31:0] $end
    $var wire 32 3 count_f [31:0] $end
    $var wire  1 $ fastclk $end
    $var wire  1 % reset_l $end
   $upscope $end
  $upscope $end
 $upscope $end
$enddefinitions $end

When I compiled the SystemC 2.3.2 library with the "configure" and "make", the same tracing_sc example produce good VCD.

For both compiled SystemC 2.3.2 version, it works perfect for the simple pure SystemC example as I attached.

Do you have any idea what possible goes wrong with the CMake compiled one?

sc_main.cpp View - Working pure SystemC example (2.82 KB) Enzo Chi, 05/06/2018 10:47 AM

History

#1 Updated by Wilson Snyder over 1 year ago

I haven't seen this before, but suspect & hope with some appropriate printf's or debugger it will be fairly easy for you to hunt down.

#2 Updated by Wilson Snyder over 1 year ago

  • Category set to WrongRuntimeResult
  • Status changed from New to AskedReporter
  • Assignee set to Enzo Chi

#3 Updated by Wilson Snyder 12 months ago

  • Status changed from AskedReporter to NotEnoughInfo

Closing due to age, if you have more information feel free to reopen.

#4 Updated by Martin Zaun 3 months ago

Another example which reproduces this issue with SystemC 2.3.3 is reported with bug1445. Example data available at https://github.com/mzau/systemcsample.

Also available in: Atom