找回密码
 注册
搜索
查看: 1091|回复: 0

[IC设计资料] systemc 的标准 2005版

[复制链接]
发表于 2009-12-2 19:53:43 | 显示全部楼层 |阅读模式
给不方便到IEEE下载的同学, SYSTEMC 的IEEE标准

CONTENTS
1. Overview............................................................................................................................................. 1
1.1 Scope........................................................................................................................................... 1
1.2 Purpose........................................................................................................................................ 1
1.3 Subsets ........................................................................................................................................ 1
1.4 Relationship with C++ ................................................................................................................. 1
1.5 Guidance for readers .................................................................................................................... 2
2. References........................................................................................................................................... 3
3. Terminology and conventions used in this standard............................................................................ 4
3.1 Terminology................................................................................................................................ 4
3.1.1 Shall, should, may, can................................................................................................. 4
3.1.2 Implementation, application......................................................................................... 4
3.2.5 Embolded text .............................................................................................................. 7
4.2.2 Cycles in the scheduling algorithm............................................................................ 17
4.3 Running elaboration and simulation .......................................................................................... 18
4.3.1 Function declarations................................................................................................. 18
4.3.2 Function sc_elab_and_sim......................................................................................... 18
4.3.3 Functions sc_argc and sc_argv .................................................................................. 19

4.4.4 end_of_simulation ..................................................................................................... 23
4.5 Other functions related to the scheduler .................................................................................... 24
4.5.1 Function declarations ................................................................................................. 24
4.5.2 Function sc_stop, sc_set_stop_mode, and sc_get_stop_mode................................... 24
4.5.3 Function sc_time_stamp............................................................................................. 25
4.5.4 Function sc_delta_count............................................................................................. 26
4.5.5 Function sc_is_running .............................................................................................. 26
5. Core language class definitions ......................................................................................................... 27

5.2.17 wait ............................................................................................................................. 41
5.2.18 Positional port binding ............................................................................................... 43
5.2.19 before_end_of_elaboration, end_of_elaboration, start_of_simulation,
end_of_simulation...................................................................................................... 44
5.2.20 get_child_objects........................................................................................................ 45
5.2.21 sc_gen_unique_name ................................................................................................. 45
5.2.22 sc_behavior and sc_channel ....................................................................................... 46
5.5.2 Class definition .......................................................................................................... 52
5.5.3 Constraints on usage .................................................................................................. 53
5.5.4 Constructors ............................................................................................................... 53
5.5.5 Member functions ...................................................................................................... 53
5.5.6 sc_spawn .................................................................................................................... 54
5.8 sc_event_and_list† and sc_event_or_list† ................................................................................. 65
5.8.1 Description ................................................................................................................. 65
5.8.2 Class definition........................................................................................................... 65
5.8.3 Constraints on usage................................................................................................... 65
5.8.4 Event lists ................................................................................................................... 65
5.9 sc_event .................................................................................................................................... 66

5.11.6 kind ............................................................................................................................ 74
5.11.7 Named port binding ................................................................................................... 74
5.11.8 Member functions for bound ports and port-to-port binding..................................... 75
5.11.9 before_end_of_elaboration, end_of_elaboration, start_of_simulation,
end_of_simulation...................................................................................................... 79
5.12 sc_export................................................................................................................................... 80
5.13 sc_interface ............................................................................................................................... 85
5.13.1 Description ................................................................................................................. 85
5.13.2 Class definition........................................................................................................... 85
5.13.3 Constraints on usage................................................................................................... 85
5.13.4 register_port ............................................................................................................... 86
5.15 sc_object ................................................................................................................................... 92
5.15.1 Description ................................................................................................................. 92
5.15.2 Class definition........................................................................................................... 92
5.15.3 Constraints on usage................................................................................................... 93
5.15.4 Constructors and hierarchical names.......................................................................... 93
5.15.5 name, basename, and kind.......................................................................................... 94

103
6.1 sc_signal_in_if ......................................................................................................................... 103
6.1.1 Description ............................................................................................................... 103
6.1.2 Class definition......................................................................................................... 103
6.1.3 Member functions .................................................................................................... 103
6.2 sc_signal_in_if<bool> and sc_signal_in_if<sc_dt::sc_logic>................................................. 104
6.2.1 Description ............................................................................................................... 104
6.2.2 Class definition......................................................................................................... 104
6.4.5 Constructors ............................................................................................................. 109
6.4.6 register_port ............................................................................................................. 109
6.4.7 Member functions for reading ................................................................................. 109
6.4.8 Member functions for writing.................................................................................. 110
6.4.9 Member functions for events ................................................................................... 110

6.7.5 write ......................................................................................................................... 120
6.7.6 Diagnostic member functions .................................................................................. 120
6.7.7 before_end_of_elaboration ...................................................................................... 121
6.7.8 sc_in_clk .................................................................................................................. 121
6.8 sc_in ........................................................................................................................................ 122
6.10.3 Member functions .................................................................................................... 128
6.10.4 initialize.................................................................................................................... 128
6.10.5 Function sc_trace ..................................................................................................... 128
6.10.6 end_of_elaboration .................................................................................................. 129
6.10.7 Binding..................................................................................................................... 129
6.11 sc_inout<bool> and sc_inout<sc_dt::sc_logic> ...................................................................... 130
6.18.1 Description............................................................................................................... 142
6.18.2 Class definition ........................................................................................................ 142
6.18.3 Member functions .................................................................................................... 142
6.19 sc_inout_rv.............................................................................................................................. 143
6.19.1 Description ............................................................................................................... 143
6.19.2 Class definition......................................................................................................... 143
6.19.3 Member functions .................................................................................................... 143
6.20 sc_out_rv................................................................................................................................. 145
6.20.1 Description ............................................................................................................... 145
6.20.2 Class definition......................................................................................................... 145
6.20.3 Member functions .................................................................................................... 145
6.21 sc_fifo_in_if............................................................................................................................. 146
6.21.1 Description ............................................................................................................... 146
6.21.2 Class definition......................................................................................................... 146
6.21.3 Member functions .................................................................................................... 146
6.22 sc_fifo_out_if........................................................................................................................... 148
6.23.8 The update phase...................................................................................................... 153
6.23.9 Member functions for events.................................................................................... 153
8. Utility class definitions .................................................................................................................... 371
8.1 Trace files ............................................................................................................................... 371
8.1.1 Class definition and function declarations ............................................................... 371
8.1.2 sc_trace_file ............................................................................................................. 371
8.1.3 sc_create_vcd_trace_file .......................................................................................... 372
8.1.4 sc_close_vcd_trace_file ........................................................................................... 372
8.1.5 sc_write_comment ................................................................................................... 372
8.1.6 sc_trace..................................................................................................................... 372
8.2 sc_report.................................................................................................................................. 375
8.2.1 Description............................................................................................................... 375
8.2.2 Class definition ........................................................................................................ 375
8.2.3 Constraints on usage ................................................................................................ 375
8.2.4 sc_severity................................................................................................................ 376
8.2.5 Copy constructor and assignment ............................................................................ 376
8.3.6 set_actions ................................................................................................................ 381
8.3.7 stop_after.................................................................................................................. 381
8.3.8 get_count .................................................................................................................. 382
8.3.9 suppress and force .................................................................................................... 383
8.3.10 set_handler ............................................................................................................... 383
8.3.11 get_new_action_id ................................................................................................... 384
8.3.12 sc_interrupt_here and sc_stop_here ......................................................................... 384
8.3.13 get_cached_report and clear_cached_report ............................................................ 384
8.3.14 set_log_file_name and get_log_file_name............................................................... 385
8.4 sc_exception............................................................................................................................ 386
【文件名】:09122@52RD_1666-2005.pdf
【格 式】:pdf
【大 小】:2353K
【简 介】:
【目 录】:


高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-11-18 18:25 , Processed in 0.055729 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表