Applistar

5. 3. 2 sc_time_unit

TOP > 5 SystemC入門 > 5. 3 時間 > 5. 3. 2 sc_time_unit
  5. 3. 2 sc_time_unit  

5. 3. 2 sc_time_unit

時刻の単位を指定する時のために sc_time_unit というグローバルの列挙型が定義されています。 それには次のような名前があります。

SC_FS    フェムト 秒
SC_PS    ピコ     秒
SC_NS    ナノ     秒
SC_US    マイクロ 秒
SC_MS    ミリ     秒
SC_SEC   秒

これは sc_time.h と sc_time.cpp の両方を見て、その意味になります。 これらの二つのソースは、URL で言えば、次の二か所で見ることも出来ます。

http://www.iro.umontreal.ca/~chareslu/systemc-2.0.1/sc__time_8h-source.html#l00057

http://www.iro.umontreal.ca/~chareslu/systemc-2.0.1/sc__time_8cpp-source.html#l00045

  5. 3. 2 sc_time_unit  
TOP > 5 SystemC入門 > 5. 3 時間 > 5. 3. 2 sc_time_unit