|
我也是有在學 SystemC, 在 OSCI 網站所提供的下載內含 SystemC 的 library (觀念上來說是一個 reference simulator), 以及一些 example code,
! W2 J; O& q: D3 g2 u3 |# M我用的 compiler 是 g++, SystemC 版本是 2.2.0, 解壓後的資料夾的 INSTALL 檔有解說不同 host environment 的 install 方式,8 K9 g8 n3 d3 F7 ]2 }
包含 windows 和 linux/unix-like 的 solution.; V! d0 N T" r: \- S2 Y. t
$ o6 C7 V6 V" `. `3 p3 \
因為每個人的 compiler 環境不同, 如果真的遇到 compile library 沒有過的情形, 建議可以把 compile 產生的 error 或 warning 貼上來,
: z7 ~- Y# y/ {: I因為雖然我個人的經驗是可以 compile 過, 不過中間有產生許多的 warning, 原本我對這些 warning 是 ignore 的, 5 r% @2 o, G1 @9 e3 n) D$ y7 d" [6 f
不過在我 compile TLM-2.0 的 example code 卻因為這些隱含的 warning 造成許多的 error, 最後還是得找出這些 warning 然後修掉.. Q8 K& D- P, a9 `/ s
主要原因是 TLM 是 based on SystemC library. |
評分
-
查看全部評分
|