SCVインストール(SystemC 2.3版)

基本的な操作は

Ubuntu12.04に SCV をインストール

と変わりません。

違う点は config時の指定だけです。
SystemCのインストール先は個別に違うと思うので、置き換えてください。

  • SystemC 2.2
$> ../configure [--prefix=インストール先] --with-systemc=/usr/local/lib/systemc-2.2.0 --disable-compiler-check 
  • SystemC 2.3
$> ../configure [--prefix=インストール先] --with-systemc=/usr/local/lib/systemc-2.3.0 --disable-compiler-check 

実行確認

$> cd インストール先
$> cd examples/scv/general/hello/
$> make
:
             SystemC 2.3.0-ASI --- Feb 16 2013 23:56:43
        Copyright (c) 1996-2012 by all Contributors,
        ALL RIGHTS RESERVED

Hello, world!

ナイス! Hello, world!

gcc/g++のバージョンも挙がっているためか、
SystemC 2.3のほうがコンパイル時に
Warning出ないので良いかと思います。

環境

  • Ubuntu12.04 LTS(32bit)
  • gcc/g++ 4.4.7
  • SystemC 2.3