Chapter 5 -- SystemC From Gound 读书心得
2010-11-29 09:01
162 查看
1. systemC sc_time datatype 类似于 systemc datatype, 通过运算符重载支持+=, <,... 以及流<<, >>, 同样也有到C++类型的转化函数。
2. sc_time 类型被simulation kernel用来跟踪simulation time,以及定义timeout和delay
3. sc_time name(double, sc_time_unit)…; sc_time_unit有 SC_NS, SC_PS等枚举
4. 在sc_time对象创建前,可用sc_set_time_resolution(double, sc_time_unit); 来指定resolution
5. sc_time current_time = sc_time_stamp(); 获得当前时间邮戳。
6. sc_start() 也可指定timeout时间。
7. wait(sc_time)
2. sc_time 类型被simulation kernel用来跟踪simulation time,以及定义timeout和delay
3. sc_time name(double, sc_time_unit)…; sc_time_unit有 SC_NS, SC_PS等枚举
4. 在sc_time对象创建前,可用sc_set_time_resolution(double, sc_time_unit); 来指定resolution
5. sc_time current_time = sc_time_stamp(); 获得当前时间邮戳。
6. sc_start() 也可指定timeout时间。
7. wait(sc_time)
相关文章推荐
- Chapter 4 -- SystemC From Gound 读书心得
- Chapter 10 -- SystemC From Gound 读书心得
- Chapter 11 -- SystemC From Gound 读书心得
- Chapter 3 -- SystemC From Gound 读书心得
- Chapter 2 -- SystemC From Gound 读书心得
- Chapter 6 -- SystemC From Gound 读书心得
- Chapter 12 -- SystemC From Gound 读书心得
- Chapter 9 -- SystemC From Gound 读书心得
- Chapter 8 -- SystemC From Gound 读书心得
- Chapter 7 -- SystemC From Gound 读书心得
- Chapter 13 -- SystemC From Gound 读书心得
- trace openjdk from systemtap
- 十月读书心得
- Mouse translation from System.Windows.Forms.MouseButtons to System.Windows.Input.MouseButton
- practical system design with mef & mef[ trans from arup.codeplex.com/]
- 看了一个月资料,写一篇论文读书心得
- 看了一个月资料,写一篇论文读书心得
- 深入浅出设计模式-读书心得1
- C语言——读书心得1
- 读书心得:企业管理的哲学——以德治企