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
Labels
area: wrong runtime result Issue involves an incorrect runtine result from Verilated model resolution: abandoned Closed; not enough information or otherwise never finished

Comments

@veripoolbot
Copy link
Contributor


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
Copy link
Contributor Author


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
Copy link
Contributor Author


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
Copy link
Contributor Author


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.

@veripoolbot veripoolbot added area: wrong runtime result Issue involves an incorrect runtine result from Verilated model resolution: abandoned Closed; not enough information or otherwise never finished labels Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: wrong runtime result Issue involves an incorrect runtine result from Verilated model resolution: abandoned Closed; not enough information or otherwise never finished
Projects
None yet
Development

No branches or pull requests

1 participant