34const char SC_ID_PORT_OUTSIDE_MODULE_[] =
"port specified outside of module";
35const char SC_ID_CLOCK_PERIOD_ZERO_[] =
"sc_clock period is zero";
36const char SC_ID_CLOCK_HIGH_TIME_ZERO_[] =
"sc_clock high time is zero";
37const char SC_ID_CLOCK_LOW_TIME_ZERO_[] =
"sc_clock low time is zero";
38const char SC_ID_MORE_THAN_ONE_FIFO_READER_[] =
39 "sc_fifo<T> cannot have more than one reader";
40const char SC_ID_MORE_THAN_ONE_FIFO_WRITER_[] =
41 "sc_fifo<T> cannot have more than one writer";
42const char SC_ID_INVALID_FIFO_SIZE_[] =
43 "sc_fifo<T> must have a size of at least 1";
44const char SC_ID_BIND_IF_TO_PORT_[] =
"bind interface to port failed";
45const char SC_ID_BIND_PORT_TO_PORT_[] =
"bind parent port to port failed";
46const char SC_ID_COMPLETE_BINDING_[] =
"complete binding failed";
47const char SC_ID_INSERT_PORT_[] =
"insert port failed";
48const char SC_ID_REMOVE_PORT_[] =
"remove port failed";
49const char SC_ID_GET_IF_[] =
"get interface failed";
50const char SC_ID_INSERT_PRIM_CHANNEL_[] =
"insert primitive channel failed";
51const char SC_ID_REMOVE_PRIM_CHANNEL_[] =
"remove primitive channel failed";
52const char SC_ID_MORE_THAN_ONE_SIGNAL_DRIVER_[] =
53 "sc_signal<T> cannot have more than one driver";
54const char SC_ID_NO_DEFAULT_EVENT_[] =
"channel doesn't have a default event";
55const char SC_ID_RESOLVED_PORT_NOT_BOUND_[] =
56 "resolved port not bound to resolved signal";
57const char SC_ID_FIND_EVENT_[] =
"find event failed";
58const char SC_ID_INVALID_SEMAPHORE_VALUE_[] =
59 "sc_semaphore requires an initial value >= 0";
60const char SC_ID_SC_EXPORT_HAS_NO_INTERFACE_[] =
61 "sc_export instance has no interface";
62const char SC_ID_INSERT_EXPORT_[] =
"insert sc_export failed";
63const char SC_ID_EXPORT_OUTSIDE_MODULE_[] =
64 "sc_export specified outside of module";
65const char SC_ID_SC_EXPORT_NOT_REGISTERED_[] =
66 "remove sc_export failed, sc_export not registered";
67const char SC_ID_SC_EXPORT_NOT_BOUND_AFTER_CONSTRUCTION_[] =
68 "sc_export instance not bound to interface at end of construction";
69const char SC_ID_ATTEMPT_TO_WRITE_TO_CLOCK_[] =
70 "attempt to write the value of an sc_clock instance";
71const char SC_ID_SC_EXPORT_ALREADY_BOUND_[] =
72 "sc_export instance already bound";
73const char SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_[] =
74 "attempted specalized signal operation on non-specialized signal";
75const char SC_ID_ATTEMPT_TO_BIND_CLOCK_TO_OUTPUT_[] =
76 "attempted to bind sc_clock instance to sc_inout or sc_out";
77const char SC_ID_NO_ASYNC_UPDATE_[] =
78 "this build has no asynchronous update support";
84 {100, SC_ID_PORT_OUTSIDE_MODULE_},
85 {101, SC_ID_CLOCK_PERIOD_ZERO_},
86 {102, SC_ID_CLOCK_HIGH_TIME_ZERO_},
87 {103, SC_ID_CLOCK_LOW_TIME_ZERO_},
88 {104, SC_ID_MORE_THAN_ONE_FIFO_READER_},
89 {105, SC_ID_MORE_THAN_ONE_FIFO_WRITER_},
90 {106, SC_ID_INVALID_FIFO_SIZE_},
91 {107, SC_ID_BIND_IF_TO_PORT_},
92 {108, SC_ID_BIND_PORT_TO_PORT_},
93 {109, SC_ID_COMPLETE_BINDING_},
94 {110, SC_ID_INSERT_PORT_},
95 {111, SC_ID_REMOVE_PORT_},
97 {113, SC_ID_INSERT_PRIM_CHANNEL_},
98 {114, SC_ID_REMOVE_PRIM_CHANNEL_},
99 {115, SC_ID_MORE_THAN_ONE_SIGNAL_DRIVER_},
100 {116, SC_ID_NO_DEFAULT_EVENT_},
101 {117, SC_ID_RESOLVED_PORT_NOT_BOUND_},
102 {118, SC_ID_FIND_EVENT_},
103 {119, SC_ID_INVALID_SEMAPHORE_VALUE_},
104 {120, SC_ID_SC_EXPORT_HAS_NO_INTERFACE_},
105 {121, SC_ID_INSERT_EXPORT_},
106 {122, SC_ID_EXPORT_OUTSIDE_MODULE_},
107 {123, SC_ID_SC_EXPORT_NOT_REGISTERED_},
108 {124, SC_ID_SC_EXPORT_NOT_BOUND_AFTER_CONSTRUCTION_},
109 {125, SC_ID_ATTEMPT_TO_WRITE_TO_CLOCK_},
110 {126, SC_ID_SC_EXPORT_ALREADY_BOUND_},
111 {127, SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_},
112 {128, SC_ID_ATTEMPT_TO_BIND_CLOCK_TO_OUTPUT_},
113 {129, SC_ID_NO_ASYNC_UPDATE_}