|
我也是有在學 SystemC, 在 OSCI 網站所提供的下載內含 SystemC 的 library (觀念上來說是一個 reference simulator), 以及一些 example code,6 k+ V# n+ q9 y- i' c
我用的 compiler 是 g++, SystemC 版本是 2.2.0, 解壓後的資料夾的 INSTALL 檔有解說不同 host environment 的 install 方式,& p3 V( U7 s* p2 K% v
包含 windows 和 linux/unix-like 的 solution.5 \1 m% G. S3 j3 V0 j& H
- ]' D( @# j0 N
因為每個人的 compiler 環境不同, 如果真的遇到 compile library 沒有過的情形, 建議可以把 compile 產生的 error 或 warning 貼上來,
) H, ~- W/ ^: F因為雖然我個人的經驗是可以 compile 過, 不過中間有產生許多的 warning, 原本我對這些 warning 是 ignore 的, 7 d- U; J8 _" P) B
不過在我 compile TLM-2.0 的 example code 卻因為這些隱含的 warning 造成許多的 error, 最後還是得找出這些 warning 然後修掉.
' t0 j3 g/ C O0 I' ~0 D! f; E. D主要原因是 TLM 是 based on SystemC library. |
評分
-
查看全部評分
|