Applistar

7. 3 SystemC記述スタイルガイド

TOP > 7 モデリングガイドライン > 7. 3 SystemC記述スタイルガイド
  7. 3 SystemC記述スタイルガイド  

7. 3 SystemC記述スタイルガイド

7. 3. 9. 2 sc_set_time_resolution

sc_set_time_resolution()をsc_timeオブジェクト生成の後に記述している

sc_time の値がゼロならば文法的には ok

複数のsc_set_time_resolution()がある
sc_start()やsc_cycle()より後にsc_set_time_resolution()がある
sc_set_time_resolution()に10の累乗以外の値を指定している
dont_initialize()を使用している
主に1.0との互換性のために使うが中途半端に使うと危険
  7. 3 SystemC記述スタイルガイド  
TOP > 7 モデリングガイドライン > 7. 3 SystemC記述スタイルガイド