|
我也是有在學 SystemC, 在 OSCI 網站所提供的下載內含 SystemC 的 library (觀念上來說是一個 reference simulator), 以及一些 example code,$ a# l1 j2 m: z8 [5 H* ~
我用的 compiler 是 g++, SystemC 版本是 2.2.0, 解壓後的資料夾的 INSTALL 檔有解說不同 host environment 的 install 方式,5 Y3 f5 y) d) \( {' Y0 C
包含 windows 和 linux/unix-like 的 solution." [+ p, ]- a# Q7 {; l9 O
# k$ x# u( T3 T4 R% R" q: q7 Z因為每個人的 compiler 環境不同, 如果真的遇到 compile library 沒有過的情形, 建議可以把 compile 產生的 error 或 warning 貼上來,# I, X9 }( H% _4 b- d+ H" @
因為雖然我個人的經驗是可以 compile 過, 不過中間有產生許多的 warning, 原本我對這些 warning 是 ignore 的, + d( m, K( z# c0 F( i5 ^
不過在我 compile TLM-2.0 的 example code 卻因為這些隱含的 warning 造成許多的 error, 最後還是得找出這些 warning 然後修掉.
: G6 }: ~; O( l; u: [+ l- t主要原因是 TLM 是 based on SystemC library. |
評分
-
查看全部評分
|