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 #1251

Compilation error for SystemC 2.3.2

Added by Tymoteusz Blazejczyk over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
High
Category:
Configure/Make/Compiling
% Done:

0%

Estimated time:
0.10 h

Description

Hi,

Accellera has updated SystemC to version 2.3.2. In sysc/tracing/sc_trace.h there are two new pure virtual methods not present in 2.3.1:

DECL_TRACE_FUNC_A( sc_event )
DECL_TRACE_FUNC_A( sc_time )

In current Verilator release 3.916 and master branch it will cause compilation error when trying to dynamically allocating VerilatedVcdSc class.

Clang compilation error message:
allocating an object of abstract class type

I have included patch that will resolve that issue.

Thanks, Tymoteusz Blazejczyk

0001-Fixed-compilation-error-for-SystemC-2.3.2.patch View - Verilator patch for SystemC-2.3.2 (1.67 KB) Tymoteusz Blazejczyk, 12/17/2017 08:58 AM

History

#1 Updated by Wilson Snyder over 1 year ago

  • Status changed from New to Resolved
  • Assignee changed from Wilson Snyder to Tymoteusz Blazejczyk

Excellent, thanks for providing a patch for fixing this, it is appreciated, and perfectly done.

Fixed in git towards 3.917.

#2 Updated by Wilson Snyder over 1 year ago

  • Status changed from Resolved to Closed

In 3.918.

Also available in: Atom