morilab報告書

半導体・回路設計などに関する技術的な記録を行っています。

2015年06月

ModelSimの実行時にエラーが出た

Ubuntu上でModelSimを動かそうとしたら、エラーが発生した。
$ vsim test.v
/opt/altera/13.1/modelsim_ase/bin/../linux/vish: error while loading shared libraries: libXft.so.2: cannot open shared object file: No such file or directory

 続きを読む

RedmineのwikiをRESTで更新(2) 400 Bad Requestが発生する

以前、RedmineのwikiをRESTで更新という記事を書いた。
しかし、失敗するケースが発生。原因を調査した。
続きを読む

vim設定メモなど

.vimrcの設定メモ。 続きを読む

UVMのログに出力されるサマリーを抑制する (2)ヘッダー編

前回はフッターを出力しないようにしてみました。
さらに、ヘッダー…冒頭のUVMバージョン情報も消せないかどうか、探ってみます。

  • ヘッダー部分
    ----------------------------------------------------------------
    CDNS-UVM-1.1d (14.20-s002)
    (C) 2007-2013 Mentor Graphics Corporation
    (C) 2007-2013 Cadence Design Systems, Inc.
    (C) 2006-2013 Synopsys, Inc.
    (C) 2011-2013 Cypress Semiconductor Corp.
    ----------------------------------------------------------------
    
      ***********       IMPORTANT RELEASE NOTES         ************
    
      You are using a version of the UVM library that has been compiled
      with `UVM_NO_DEPRECATED undefined.
      See http://www.eda.org/svdb/view.php?id=3313 for more details.
    
      You are using a version of the UVM library that has been compiled
      with `UVM_OBJECT_MUST_HAVE_CONSTRUCTOR undefined.
      See http://www.eda.org/svdb/view.php?id=3770 for more details.
    
          (Specify +UVM_NO_RELNOTES to turn off this notice)
    

    続きを読む

    UVMのログに出力されるサマリーを抑制する (1)フッター編

    みなさん、UVMしてますか?

    UVMでは、普通にシミュレーションを実行すると、最後にレポートのサマリーを表示します。
    例えば以下のようなものです。
    --- UVM Report catcher Summary ---
    
    
    Number of demoted UVM_FATAL reports  :    0
    Number of demoted UVM_ERROR reports  :    0
    Number of demoted UVM_WARNING reports:    0
    Number of caught UVM_FATAL reports   :    0
    Number of caught UVM_ERROR reports   :    0
    Number of caught UVM_WARNING reports :    0
    
    --- UVM Report Summary ---
    
    ** Report counts by severity
    UVM_INFO :   10
    UVM_WARNING :    0
    UVM_ERROR :    0
    UVM_FATAL :    0
    ** Report counts by id
    [Param_Common]     2
    [Param_Register]     6
    [RNTST]     2
    
    この、サマリー部分を非表示にしたいという要望があったのでどのように実装するのが良いのか調査しました。
    続きを読む
    アクセスカウンター