1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright 9 * notice, this list of conditions and the following disclaimer in the 10 * documentation and/or other materials provided with the distribution; 11 * neither the name of the copyright holders nor the names of its 12 * contributors may be used to endorse or promote products derived from 13 * this software without specific prior written permission. 14 * 15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 16 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 17 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 18 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 19 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 20 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 21 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * 27 * Authors: Gabe Black 28 */ 29 30#ifndef __SYSTEMC_EXT_CHANNEL__USING_HH__ 31#define __SYSTEMC_EXT_CHANNEL__USING_HH__ 32 33#include "_channel.hh" 34 35using sc_core::sc_buffer; 36 37using sc_core::sc_clock; 38using sc_core::sc_in_clk; 39using sc_core::sc_inout_clk; 40using sc_core::sc_out_clk; 41 42using sc_core::sc_event_queue_if; 43using sc_core::sc_event_queue; 44using sc_core::sc_event_queue_port; 45 46using sc_core::sc_fifo; 47 48using sc_core::sc_fifo_in; 49 50using sc_core::sc_fifo_nonblocking_in_if; 51using sc_core::sc_fifo_blocking_in_if; 52using sc_core::sc_fifo_in_if; 53 54using sc_core::sc_fifo_out; 55 56using sc_core::sc_fifo_nonblocking_out_if; 57using sc_core::sc_fifo_blocking_out_if; 58using sc_core::sc_fifo_out_if; 59 60using sc_core::sc_in; 61 62using sc_core::sc_in_resolved; 63 64using sc_core::sc_in_rv; 65 66using sc_core::sc_inout; 67 68using sc_core::sc_inout_resolved; 69 70using sc_core::sc_inout_rv; 71 72using sc_core::sc_mutex; 73 74using sc_core::sc_mutex_if; 75 76using sc_core::sc_out; 77 78using sc_core::sc_out_resolved; 79 80using sc_core::sc_out_rv; 81 82using sc_core::sc_semaphore; 83 84using sc_core::sc_semaphore_if; 85 86using sc_core::sc_signal; 87 88using sc_core::sc_signal_in_if; 89 90using sc_core::SC_ONE_WRITER; 91using sc_core::SC_MANY_WRITERS; 92using sc_core::sc_signal_write_if; 93using sc_core::sc_signal_inout_if; 94using sc_core::sc_signal_out_if; 95 96using sc_core::sc_signal_resolved; 97 98using sc_core::sc_signal_rv; 99 100using sc_core::SC_ID_PORT_OUTSIDE_MODULE_; 101using sc_core::SC_ID_CLOCK_PERIOD_ZERO_; 102using sc_core::SC_ID_CLOCK_HIGH_TIME_ZERO_; 103using sc_core::SC_ID_CLOCK_LOW_TIME_ZERO_; 104using sc_core::SC_ID_MORE_THAN_ONE_FIFO_READER_; 105using sc_core::SC_ID_MORE_THAN_ONE_FIFO_WRITER_; 106using sc_core::SC_ID_INVALID_FIFO_SIZE_; 107using sc_core::SC_ID_BIND_IF_TO_PORT_; 108using sc_core::SC_ID_BIND_PORT_TO_PORT_; 109using sc_core::SC_ID_COMPLETE_BINDING_; 110using sc_core::SC_ID_INSERT_PORT_; 111using sc_core::SC_ID_REMOVE_PORT_; 112using sc_core::SC_ID_GET_IF_; 113using sc_core::SC_ID_INSERT_PRIM_CHANNEL_; 114using sc_core::SC_ID_REMOVE_PRIM_CHANNEL_; 115using sc_core::SC_ID_MORE_THAN_ONE_SIGNAL_DRIVER_; 116using sc_core::SC_ID_NO_DEFAULT_EVENT_; 117using sc_core::SC_ID_RESOLVED_PORT_NOT_BOUND_; 118using sc_core::SC_ID_FIND_EVENT_; 119using sc_core::SC_ID_INVALID_SEMAPHORE_VALUE_; 120using sc_core::SC_ID_SC_EXPORT_HAS_NO_INTERFACE_; 121using sc_core::SC_ID_INSERT_EXPORT_; 122using sc_core::SC_ID_EXPORT_OUTSIDE_MODULE_; 123using sc_core::SC_ID_SC_EXPORT_NOT_REGISTERED_; 124using sc_core::SC_ID_SC_EXPORT_NOT_BOUND_AFTER_CONSTRUCTION_; 125using sc_core::SC_ID_ATTEMPT_TO_WRITE_TO_CLOCK_; 126using sc_core::SC_ID_SC_EXPORT_ALREADY_BOUND_; 127using sc_core::SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_; 128using sc_core::SC_ID_ATTEMPT_TO_BIND_CLOCK_TO_OUTPUT_; 129using sc_core::SC_ID_NO_ASYNC_UPDATE_; 130 131#endif //__SYSTEMC_EXT_CHANNEL__USING_HH__ 132