Add error if use SystemC 2.2 and earlier (pre-2011) as is deprecated.

This commit is contained in:
Wilson Snyder 2020-04-07 19:58:17 -04:00
parent 0cfa828572
commit 914a6edd33
3 changed files with 12 additions and 3 deletions

View File

@ -13,6 +13,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
**** Support $ferror, and $fflush without arguments, #1638. **** Support $ferror, and $fflush without arguments, #1638.
**** Add error if use SystemC 2.2 and earlier (pre-2011) as is deprecated.
* Verilator 4.032 2020-04-04 * Verilator 4.032 2020-04-04

View File

@ -4819,10 +4819,12 @@ configured with --enable-prec11. This flag will be removed and C++11
compilers will be required for both compiling Verilator and compiling compilers will be required for both compiling Verilator and compiling
Verilated models no sooner than September 2020. Verilated models no sooner than September 2020.
=item SystemC 2.1 and earlier support =item SystemC 2.2 and earlier support
Support for SystemC versions 2.1 and earlier and the related sc_clock Support for SystemC versions 2.2 and earlier including the related sc_clock
variable attribute will be removed no sooner than July 2020. variable attribute will be removed no sooner than August 2020. The
supported versions will be SystemC 2.3.0 (SYSTEMC_VERSION 20111121) and
later (presently 2.3.0, 2.3.1, 2.3.2, 2.3.3).
=item Configuration File -msg =item Configuration File -msg

View File

@ -52,6 +52,11 @@
# define WAVES 1 // Set backward compatibility flag # define WAVES 1 // Set backward compatibility flag
#endif #endif
// Version check
#if defined(SYSTEMC_VERSION) && (SYSTEMC_VERSION < 20111121)
# warning "Verilator soon requires SystemC 2.3.*; see manual for deprecated other versions."
#endif
//========================================================================= //=========================================================================
// Basic types // Basic types