fc2ブログ

[SystemC][SCV] SystemC 2.3.1 & SCV 2.0 リリース!

突然来ました!
(てっきりUVM1.2が先かと思っていたのに)

Accellera Releases Core Language and Verification Libraries

Accellera website にいくと、

  • 「SystemC 2.3.1(Includes TLM)」
  • 「SystemC Verification 2.0」

が待ってます!
皆さんダウンロードしてみましょう!

SystemC 2.3.1

「RELEASENOTES」より、いろいろ見ていきたいと思います。

 1) What's new in this release?
  2) Bug fixes and enhancements
  3) New features
  4) Incompatibitilies with previous releases
  5) Expanded dynamic process support
  6) Experimental features
  7) Known problems
  8) Fixed-point library
  9) TLM Release Notes

2) Bug fixes and enhancements

  • 64bit platformに対応についてちょこちょこ修正が入っているみたいですね。
  • 実行最初のメッセージの「ASI」→「Accellera」とか。
  • gcc 4.8以降での sc_signed/sc_unsingedの変換バグ対応
  • sc_status の stream 対応「operator<<」

などなど。

3) New features

  • pkg-configサポート
  • Clangや Intel compilerなどのコンパイラ対応
  • deprecation warningの削除(コード上消えた?)
  • Visual Studio 2012 及び 64bit版Windows対応
  • sc_time の改善
    operator% 及び operator%= を追加。
    TLMの quantumなど、sc_time の計算対応と思われる。
  • sc_get_current_object()追加
  • SC_DEFAULT_WRITER_POLICY の アプリケーション側対応
    インストール時に、default値を変更できるというもの。
    以前は、ユーザーが毎回指定しないといけなかった。
  • sc_signalに初期値設定追加
sc_signal<T>::sc_signal( const char* name
                       , const T&    initial_value );
  • sc_bv(bit vector)型から boolean型への変換改善
    ↓のような書き方がOKとなる。2.3.0だと、to_bool()が必要だった?
sc_bv<8> mybits;
// ...
if( mybits[0] ) // no longer a compiler error here!

6) Experimental features

  • Simulation Phaseのコールバックを追加
SC_END_OF_INITIALIZATION,
SC_END_OF_UPDATE,
SC_BEFORE_TIMESTEP

configure実行時に引数追加で、実行可能。

--enable-phase-callbacks, or
--enable-phase-callbacks=tracing
  • sc_max_time() object生成の制限解除
    今までは、sc_set_time_resolution設定後だった。

などなど

7) Known problems

  • bit/logic vector の reduce演算結果は to_bool()を書きましょう。
  • vertual functionで、Clangとかは warningが出るらしい。

9) TLM Release Notes

TLMライブラリも TLM 2.0.2となったようです。
これなりに変更点があるようです。(省略

関連記事

コメントの投稿

非公開コメント

プロフィール

Kocha

Author:Kocha
なんでもチャレンジ!(^o^)/

はてなブログがメイン場に
github:Kocha
イベントカレンダー

カレンダー
02 | 2024/03 | 04
- - - - - 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31 - - - - - -
カテゴリ
OVP (4)
最新記事
最新コメント
アーカイブ
リンク
Twitter
アクセス人数