Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not dump trace with CMAKE compiled SystemC library #1307

Closed
veripoolbot opened this issue May 6, 2018 · 3 comments
Closed

Can not dump trace with CMAKE compiled SystemC library #1307

veripoolbot opened this issue May 6, 2018 · 3 comments

Comments

@veripoolbot
Copy link

@veripoolbot veripoolbot commented May 6, 2018


Author Name: Enzo Chi
Original Redmine Issue: 1307 from https://www.veripool.org

Original Assignee: Enzo Chi


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?

@veripoolbot

This comment has been minimized.

Copy link
Author

@veripoolbot veripoolbot commented May 6, 2018


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2018-05-06T11:35:15Z


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.

@veripoolbot

This comment has been minimized.

Copy link
Author

@veripoolbot veripoolbot commented Aug 25, 2018


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2018-08-25T14:38:14Z


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

@veripoolbot

This comment has been minimized.

Copy link
Author

@veripoolbot veripoolbot commented May 24, 2019


Original Redmine Comment
Author Name: Martin Zaun
Original Date: 2019-05-24T08:03:00Z


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.