我想比較SystemC中的仿真時間。我想在我的while循環開始時獲取當前的仿真時間,並且一旦仿真時間達到了特定的數字,我希望它離開循環。以下是我正在考慮的嘗試,但由於語法問題,它不起作用。 sc_time currentTime;
int imageDur; //This value is variable; Resolution is seconds
currentTime = sc_ti
我試圖建立在Eclipse中的一個項目,它看起來是這樣的: #include <iostream>
#include <systemc.h>
int sc_main()
{
...
}
,我騎上此錯誤消息: make all
Building file: ../src/main.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wa