112840Sgabeblack@google.com/*
212840Sgabeblack@google.com * Copyright 2018 Google, Inc.
312840Sgabeblack@google.com *
412840Sgabeblack@google.com * Redistribution and use in source and binary forms, with or without
512840Sgabeblack@google.com * modification, are permitted provided that the following conditions are
612840Sgabeblack@google.com * met: redistributions of source code must retain the above copyright
712840Sgabeblack@google.com * notice, this list of conditions and the following disclaimer;
812840Sgabeblack@google.com * redistributions in binary form must reproduce the above copyright
912840Sgabeblack@google.com * notice, this list of conditions and the following disclaimer in the
1012840Sgabeblack@google.com * documentation and/or other materials provided with the distribution;
1112840Sgabeblack@google.com * neither the name of the copyright holders nor the names of its
1212840Sgabeblack@google.com * contributors may be used to endorse or promote products derived from
1312840Sgabeblack@google.com * this software without specific prior written permission.
1412840Sgabeblack@google.com *
1512840Sgabeblack@google.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1612840Sgabeblack@google.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1712840Sgabeblack@google.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1812840Sgabeblack@google.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1912840Sgabeblack@google.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2012840Sgabeblack@google.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2112840Sgabeblack@google.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2212840Sgabeblack@google.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2312840Sgabeblack@google.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2412840Sgabeblack@google.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2512840Sgabeblack@google.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2612840Sgabeblack@google.com *
2712840Sgabeblack@google.com * Authors: Gabe Black
2812840Sgabeblack@google.com */
2912840Sgabeblack@google.com
3012840Sgabeblack@google.com#ifndef __SYSTEMC_EXT_CORE__USING_HH__
3112840Sgabeblack@google.com#define __SYSTEMC_EXT_CORE__USING_HH__
3212840Sgabeblack@google.com
3312840Sgabeblack@google.com#include "_core.hh"
3412840Sgabeblack@google.com
3512840Sgabeblack@google.comusing sc_core::sc_attr_base;
3612840Sgabeblack@google.comusing sc_core::sc_attribute;
3712840Sgabeblack@google.comusing sc_core::sc_attr_cltn;
3812840Sgabeblack@google.com
3912840Sgabeblack@google.comusing sc_core::sc_event_finder;
4012840Sgabeblack@google.comusing sc_core::sc_event_finder_t;
4112840Sgabeblack@google.comusing sc_core::sc_event_and_list;
4212840Sgabeblack@google.comusing sc_core::sc_event_or_list;
4312840Sgabeblack@google.comusing sc_core::sc_event_and_expr;
4412840Sgabeblack@google.comusing sc_core::sc_event_or_expr;
4512840Sgabeblack@google.comusing sc_core::sc_event;
4612840Sgabeblack@google.comusing sc_core::sc_get_top_level_events;
4712840Sgabeblack@google.comusing sc_core::sc_find_event;
4812840Sgabeblack@google.com
4912840Sgabeblack@google.comusing sc_core::sc_export_base;
5012840Sgabeblack@google.comusing sc_core::sc_export;
5112840Sgabeblack@google.com
5212840Sgabeblack@google.comusing sc_core::sc_interface;
5312840Sgabeblack@google.com
5412943Sgabeblack@google.comusing sc_core::sc_thread_handle;
5512943Sgabeblack@google.comusing sc_core::sc_join;
5612943Sgabeblack@google.com
5712840Sgabeblack@google.comusing sc_core::sc_argc;
5812840Sgabeblack@google.comusing sc_core::sc_argv;
5912860Sgabeblack@google.comusing sc_core::sc_starvation_policy;
6012860Sgabeblack@google.comusing sc_core::SC_RUN_TO_TIME;
6112860Sgabeblack@google.comusing sc_core::SC_EXIT_ON_STARVATION;
6212860Sgabeblack@google.comusing sc_core::sc_start;
6312860Sgabeblack@google.comusing sc_core::sc_pause;
6412860Sgabeblack@google.comusing sc_core::sc_set_stop_mode;
6512860Sgabeblack@google.comusing sc_core::sc_get_stop_mode;
6612860Sgabeblack@google.comusing sc_core::sc_stop_mode;
6712860Sgabeblack@google.comusing sc_core::SC_STOP_FINISH_DELTA;
6812860Sgabeblack@google.comusing sc_core::SC_STOP_IMMEDIATE;
6912860Sgabeblack@google.comusing sc_core::sc_stop;
7012860Sgabeblack@google.comusing sc_core::sc_time_stamp;
7112860Sgabeblack@google.comusing sc_core::sc_delta_count;
7212860Sgabeblack@google.comusing sc_core::sc_is_running;
7312860Sgabeblack@google.comusing sc_core::sc_pending_activity_at_current_time;
7412860Sgabeblack@google.comusing sc_core::sc_pending_activity_at_future_time;
7512860Sgabeblack@google.comusing sc_core::sc_pending_activity;
7612860Sgabeblack@google.comusing sc_core::sc_time_to_pending_activity;
7712860Sgabeblack@google.comusing sc_core::sc_get_status;
7812860Sgabeblack@google.comusing sc_core::SC_ELABORATION;
7912860Sgabeblack@google.comusing sc_core::SC_BEFORE_END_OF_ELABORATION;
8012860Sgabeblack@google.comusing sc_core::SC_END_OF_ELABORATION;
8112860Sgabeblack@google.comusing sc_core::SC_START_OF_SIMULATION;
8212860Sgabeblack@google.comusing sc_core::SC_RUNNING;
8312860Sgabeblack@google.comusing sc_core::SC_PAUSED;
8412860Sgabeblack@google.comusing sc_core::SC_STOPPED;
8512860Sgabeblack@google.comusing sc_core::SC_END_OF_SIMULATION;
8612926Sgabeblack@google.comusing sc_core::SC_END_OF_INITIALIZATION;
8712926Sgabeblack@google.comusing sc_core::SC_END_OF_UPDATE;
8812926Sgabeblack@google.comusing sc_core::SC_BEFORE_TIMESTEP;
8912926Sgabeblack@google.comusing sc_core::SC_STATUS_ANY;
9012860Sgabeblack@google.comusing sc_core::sc_status;
9112840Sgabeblack@google.com
9212840Sgabeblack@google.comusing sc_core::sc_bind_proxy;
9312840Sgabeblack@google.comusing sc_core::SC_BIND_PROXY_NIL;
9412840Sgabeblack@google.comusing sc_core::sc_module;
9512840Sgabeblack@google.comusing sc_core::next_trigger;
9612840Sgabeblack@google.comusing sc_core::wait;
9712909Sgabeblack@google.comusing sc_core::halt;
9812840Sgabeblack@google.comusing sc_core::sc_gen_unique_name;
9912930Sgabeblack@google.comusing sc_core::sc_hierarchical_name_exists;
10012840Sgabeblack@google.comusing sc_core::sc_behavior;
10112840Sgabeblack@google.comusing sc_core::sc_channel;
10212840Sgabeblack@google.comusing sc_core::sc_start_of_simulation_invoked;
10312840Sgabeblack@google.comusing sc_core::sc_end_of_simulation_invoked;
10412840Sgabeblack@google.com
10512840Sgabeblack@google.comusing sc_core::sc_module_name;
10612840Sgabeblack@google.com
10712840Sgabeblack@google.comusing sc_core::sc_object;
10812840Sgabeblack@google.comusing sc_core::sc_get_top_level_objects;
10912840Sgabeblack@google.comusing sc_core::sc_find_object;
11012840Sgabeblack@google.com
11112840Sgabeblack@google.comusing sc_core::sc_port_policy;
11212840Sgabeblack@google.comusing sc_core::SC_ONE_OR_MORE_BOUND;
11312840Sgabeblack@google.comusing sc_core::SC_ZERO_OR_MORE_BOUND;
11412840Sgabeblack@google.comusing sc_core::SC_ALL_BOUND;
11512840Sgabeblack@google.comusing sc_core::sc_port_base;
11612840Sgabeblack@google.comusing sc_core::sc_port_b;
11712840Sgabeblack@google.comusing sc_core::sc_port;
11812840Sgabeblack@google.com
11912840Sgabeblack@google.comusing sc_core::sc_prim_channel;
12012840Sgabeblack@google.com
12112840Sgabeblack@google.comusing sc_core::sc_curr_proc_kind;
12212840Sgabeblack@google.comusing sc_core::SC_NO_PROC_;
12312840Sgabeblack@google.comusing sc_core::SC_METHOD_PROC_;
12412840Sgabeblack@google.comusing sc_core::SC_THREAD_PROC_;
12512840Sgabeblack@google.comusing sc_core::SC_CTHREAD_PROC_;
12612840Sgabeblack@google.comusing sc_core::sc_descendent_inclusion_info;
12712840Sgabeblack@google.comusing sc_core::SC_NO_DESCENDANTS;
12812840Sgabeblack@google.comusing sc_core::SC_INCLUDE_DESCENDANTS;
12912840Sgabeblack@google.comusing sc_core::sc_unwind_exception;
13012939Sgabeblack@google.comusing sc_core::sc_process_b;
13112939Sgabeblack@google.comusing sc_core::sc_get_curr_process_handle;
13212939Sgabeblack@google.comusing sc_core::sc_get_current_process_b;
13312939Sgabeblack@google.comusing sc_core::sc_curr_proc_info;
13412939Sgabeblack@google.comusing sc_core::sc_curr_proc_handle;
13512840Sgabeblack@google.comusing sc_core::sc_process_handle;
13612840Sgabeblack@google.comusing sc_core::sc_get_current_process_handle;
13712840Sgabeblack@google.comusing sc_core::sc_is_unwinding;
13812840Sgabeblack@google.com
13912840Sgabeblack@google.comusing sc_core::sc_sensitive;
14012840Sgabeblack@google.com
14112940Sgabeblack@google.comusing sc_core::sc_simcontext;
14212940Sgabeblack@google.comusing sc_core::sc_get_curr_simcontext;
14312940Sgabeblack@google.com
14412840Sgabeblack@google.comusing sc_core::sc_spawn_options;
14512840Sgabeblack@google.comusing sc_core::sc_spawn;
14612840Sgabeblack@google.com
14712840Sgabeblack@google.comusing sc_core::sc_time_unit;
14812860Sgabeblack@google.comusing sc_core::SC_FS;
14912860Sgabeblack@google.comusing sc_core::SC_PS;
15012860Sgabeblack@google.comusing sc_core::SC_NS;
15112860Sgabeblack@google.comusing sc_core::SC_US;
15212860Sgabeblack@google.comusing sc_core::SC_MS;
15312860Sgabeblack@google.comusing sc_core::SC_SEC;
15412840Sgabeblack@google.comusing sc_core::sc_time;
15512927Sgabeblack@google.comusing sc_core::sc_time_tuple;
15612840Sgabeblack@google.comusing sc_core::SC_ZERO_TIME;
15712840Sgabeblack@google.comusing sc_core::sc_set_time_resolution;
15812840Sgabeblack@google.comusing sc_core::sc_get_time_resolution;
15912840Sgabeblack@google.comusing sc_core::sc_max_time;
16012916Sgabeblack@google.comusing sc_core::sc_get_default_time_unit;
16112916Sgabeblack@google.comusing sc_core::sc_set_default_time_unit;
16212840Sgabeblack@google.com
16313317Sgabeblack@google.comusing sc_core::SC_ID_NO_BOOL_RETURNED_;
16413317Sgabeblack@google.comusing sc_core::SC_ID_NO_INT_RETURNED_;
16513317Sgabeblack@google.comusing sc_core::SC_ID_NO_SC_LOGIC_RETURNED_;
16613317Sgabeblack@google.comusing sc_core::SC_ID_OPERAND_NOT_SC_LOGIC_;
16713317Sgabeblack@google.comusing sc_core::SC_ID_OPERAND_NOT_BOOL_;
16813317Sgabeblack@google.comusing sc_core::SC_ID_INSTANCE_EXISTS_;
16913317Sgabeblack@google.comusing sc_core::SC_ID_ILLEGAL_CHARACTERS_;
17013317Sgabeblack@google.comusing sc_core::SC_ID_VC6_PROCESS_HELPER_;
17113317Sgabeblack@google.comusing sc_core::SC_ID_VC6_MAX_PROCESSES_EXCEEDED_;
17213317Sgabeblack@google.comusing sc_core::SC_ID_END_MODULE_NOT_CALLED_;
17313317Sgabeblack@google.comusing sc_core::SC_ID_HIER_NAME_INCORRECT_;
17413317Sgabeblack@google.comusing sc_core::SC_ID_SET_STACK_SIZE_;
17513317Sgabeblack@google.comusing sc_core::SC_ID_SC_MODULE_NAME_USE_;
17613317Sgabeblack@google.comusing sc_core::SC_ID_SC_MODULE_NAME_REQUIRED_;
17713317Sgabeblack@google.comusing sc_core::SC_ID_SET_TIME_RESOLUTION_;
17813317Sgabeblack@google.comusing sc_core::SC_ID_SET_DEFAULT_TIME_UNIT_;
17913317Sgabeblack@google.comusing sc_core::SC_ID_DEFAULT_TIME_UNIT_CHANGED_;
18013317Sgabeblack@google.comusing sc_core::SC_ID_INCONSISTENT_API_CONFIG_;
18113317Sgabeblack@google.comusing sc_core::SC_ID_WAIT_NOT_ALLOWED_;
18213317Sgabeblack@google.comusing sc_core::SC_ID_NEXT_TRIGGER_NOT_ALLOWED_;
18313317Sgabeblack@google.comusing sc_core::SC_ID_IMMEDIATE_NOTIFICATION_;
18413317Sgabeblack@google.comusing sc_core::SC_ID_HALT_NOT_ALLOWED_;
18513317Sgabeblack@google.comusing sc_core::SC_ID_WATCHING_NOT_ALLOWED_;
18613317Sgabeblack@google.comusing sc_core::SC_ID_DONT_INITIALIZE_;
18713317Sgabeblack@google.comusing sc_core::SC_ID_WAIT_N_INVALID_;
18813317Sgabeblack@google.comusing sc_core::SC_ID_MAKE_SENSITIVE_;
18913317Sgabeblack@google.comusing sc_core::SC_ID_MAKE_SENSITIVE_POS_;
19013317Sgabeblack@google.comusing sc_core::SC_ID_MAKE_SENSITIVE_NEG_;
19113317Sgabeblack@google.comusing sc_core::SC_ID_INSERT_MODULE_;
19213317Sgabeblack@google.comusing sc_core::SC_ID_REMOVE_MODULE_;
19313317Sgabeblack@google.comusing sc_core::SC_ID_NOTIFY_DELAYED_;
19413317Sgabeblack@google.comusing sc_core::SC_ID_GEN_UNIQUE_NAME_;
19513317Sgabeblack@google.comusing sc_core::SC_ID_MODULE_NAME_STACK_EMPTY_;
19613317Sgabeblack@google.comusing sc_core::SC_ID_NAME_EXISTS_;
19713317Sgabeblack@google.comusing sc_core::SC_ID_IMMEDIATE_SELF_NOTIFICATION_;
19813317Sgabeblack@google.comusing sc_core::SC_ID_WAIT_DURING_UNWINDING_;
19913317Sgabeblack@google.comusing sc_core::SC_ID_CYCLE_MISSES_EVENTS_;
20013317Sgabeblack@google.comusing sc_core::SC_ID_RETHROW_UNWINDING_;
20113317Sgabeblack@google.comusing sc_core::SC_ID_PROCESS_ALREADY_UNWINDING_;
20213317Sgabeblack@google.comusing sc_core::SC_ID_MODULE_METHOD_AFTER_START_;
20313317Sgabeblack@google.comusing sc_core::SC_ID_MODULE_THREAD_AFTER_START_;
20413317Sgabeblack@google.comusing sc_core::SC_ID_MODULE_CTHREAD_AFTER_START_;
20513317Sgabeblack@google.comusing sc_core::SC_ID_SIMULATION_TIME_OVERFLOW_;
20613317Sgabeblack@google.comusing sc_core::SC_ID_SIMULATION_STOP_CALLED_TWICE_;
20713317Sgabeblack@google.comusing sc_core::SC_ID_SIMULATION_START_AFTER_STOP_;
20813317Sgabeblack@google.comusing sc_core::SC_ID_STOP_MODE_AFTER_START_;
20913317Sgabeblack@google.comusing sc_core::SC_ID_SIMULATION_START_AFTER_ERROR_;
21013317Sgabeblack@google.comusing sc_core::SC_ID_SIMULATION_UNCAUGHT_EXCEPTION_;
21113317Sgabeblack@google.comusing sc_core::SC_ID_PHASE_CALLBACKS_UNSUPPORTED_;
21213317Sgabeblack@google.comusing sc_core::SC_ID_PHASE_CALLBACK_NOT_IMPLEMENTED_;
21313317Sgabeblack@google.comusing sc_core::SC_ID_PHASE_CALLBACK_REGISTER_;
21413317Sgabeblack@google.comusing sc_core::SC_ID_PHASE_CALLBACK_FORBIDDEN_;
21513317Sgabeblack@google.comusing sc_core::SC_ID_SIMULATION_START_UNEXPECTED_;
21613317Sgabeblack@google.comusing sc_core::SC_ID_THROW_IT_IGNORED_;
21713317Sgabeblack@google.comusing sc_core::SC_ID_NOT_EXPECTING_DYNAMIC_EVENT_NOTIFY_;
21813317Sgabeblack@google.comusing sc_core::SC_ID_DISABLE_WILL_ORPHAN_PROCESS_;
21913317Sgabeblack@google.comusing sc_core::SC_ID_PROCESS_CONTROL_CORNER_CASE_;
22013317Sgabeblack@google.comusing sc_core::SC_ID_METHOD_TERMINATION_EVENT_;
22113317Sgabeblack@google.comusing sc_core::SC_ID_JOIN_ON_METHOD_HANDLE_;
22213317Sgabeblack@google.comusing sc_core::SC_ID_NO_PROCESS_SEMANTICS_;
22313317Sgabeblack@google.comusing sc_core::SC_ID_EVENT_ON_NULL_PROCESS_;
22413317Sgabeblack@google.comusing sc_core::SC_ID_EVENT_LIST_FAILED_;
22513317Sgabeblack@google.comusing sc_core::SC_ID_UNKNOWN_PROCESS_TYPE_;
22613317Sgabeblack@google.comusing sc_core::SC_ID_TIME_CONVERSION_FAILED_;
22713317Sgabeblack@google.comusing sc_core::SC_ID_NEGATIVE_SIMULATION_TIME_;
22813317Sgabeblack@google.comusing sc_core::SC_ID_BAD_SC_MODULE_CONSTRUCTOR_;
22913317Sgabeblack@google.comusing sc_core::SC_ID_EMPTY_PROCESS_HANDLE_;
23013317Sgabeblack@google.comusing sc_core::SC_ID_NO_SC_START_ACTIVITY_;
23113317Sgabeblack@google.comusing sc_core::SC_ID_KILL_PROCESS_WHILE_UNITIALIZED_;
23213317Sgabeblack@google.comusing sc_core::SC_ID_RESET_PROCESS_WHILE_NOT_RUNNING_;
23313317Sgabeblack@google.comusing sc_core::SC_ID_THROW_IT_WHILE_NOT_RUNNING_;
23413317Sgabeblack@google.com
23512840Sgabeblack@google.com#endif  //__SYSTEMC_EXT_CORE__USING_HH__
236