|
我也是有在學 SystemC, 在 OSCI 網站所提供的下載內含 SystemC 的 library (觀念上來說是一個 reference simulator), 以及一些 example code,
; \3 Z( Z- G4 ^) {, V我用的 compiler 是 g++, SystemC 版本是 2.2.0, 解壓後的資料夾的 INSTALL 檔有解說不同 host environment 的 install 方式,
$ e6 _ `3 t5 Y包含 windows 和 linux/unix-like 的 solution.
) a5 _6 O" {2 g% y2 j1 S9 i
3 ^% Z u8 y. u) v7 `% m因為每個人的 compiler 環境不同, 如果真的遇到 compile library 沒有過的情形, 建議可以把 compile 產生的 error 或 warning 貼上來,
: |: \( v8 r9 `& S, u因為雖然我個人的經驗是可以 compile 過, 不過中間有產生許多的 warning, 原本我對這些 warning 是 ignore 的,
" Q/ F0 E7 Q& j9 j8 L9 ?不過在我 compile TLM-2.0 的 example code 卻因為這些隱含的 warning 造成許多的 error, 最後還是得找出這些 warning 然後修掉.* Y( d, O/ [( A) j- w
主要原因是 TLM 是 based on SystemC library. |
評分
-
查看全部評分
|