113324Sgabeblack@google.com/* 213324Sgabeblack@google.com * Copyright 2018 Google, Inc. 313324Sgabeblack@google.com * 413324Sgabeblack@google.com * Redistribution and use in source and binary forms, with or without 513324Sgabeblack@google.com * modification, are permitted provided that the following conditions are 613324Sgabeblack@google.com * met: redistributions of source code must retain the above copyright 713324Sgabeblack@google.com * notice, this list of conditions and the following disclaimer; 813324Sgabeblack@google.com * redistributions in binary form must reproduce the above copyright 913324Sgabeblack@google.com * notice, this list of conditions and the following disclaimer in the 1013324Sgabeblack@google.com * documentation and/or other materials provided with the distribution; 1113324Sgabeblack@google.com * neither the name of the copyright holders nor the names of its 1213324Sgabeblack@google.com * contributors may be used to endorse or promote products derived from 1313324Sgabeblack@google.com * this software without specific prior written permission. 1413324Sgabeblack@google.com * 1513324Sgabeblack@google.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1613324Sgabeblack@google.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1713324Sgabeblack@google.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1813324Sgabeblack@google.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 1913324Sgabeblack@google.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2013324Sgabeblack@google.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2113324Sgabeblack@google.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2213324Sgabeblack@google.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2313324Sgabeblack@google.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2413324Sgabeblack@google.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2513324Sgabeblack@google.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2613324Sgabeblack@google.com * 2713324Sgabeblack@google.com * Authors: Gabe Black 2813324Sgabeblack@google.com */ 2913324Sgabeblack@google.com 3013324Sgabeblack@google.com#ifndef __SYSTEMC_EXT_CHANNEL_MESSAGES_HH__ 3113324Sgabeblack@google.com#define __SYSTEMC_EXT_CHANNEL_MESSAGES_HH__ 3213324Sgabeblack@google.com 3313324Sgabeblack@google.comnamespace sc_core 3413324Sgabeblack@google.com{ 3513324Sgabeblack@google.com 3613324Sgabeblack@google.comextern const char SC_ID_PORT_OUTSIDE_MODULE_[]; 3713324Sgabeblack@google.comextern const char SC_ID_CLOCK_PERIOD_ZERO_[]; 3813324Sgabeblack@google.comextern const char SC_ID_CLOCK_HIGH_TIME_ZERO_[]; 3913324Sgabeblack@google.comextern const char SC_ID_CLOCK_LOW_TIME_ZERO_[]; 4013324Sgabeblack@google.comextern const char SC_ID_MORE_THAN_ONE_FIFO_READER_[]; 4113324Sgabeblack@google.comextern const char SC_ID_MORE_THAN_ONE_FIFO_WRITER_[]; 4213324Sgabeblack@google.comextern const char SC_ID_INVALID_FIFO_SIZE_[]; 4313324Sgabeblack@google.comextern const char SC_ID_BIND_IF_TO_PORT_[]; 4413324Sgabeblack@google.comextern const char SC_ID_BIND_PORT_TO_PORT_[]; 4513324Sgabeblack@google.comextern const char SC_ID_COMPLETE_BINDING_[]; 4613324Sgabeblack@google.comextern const char SC_ID_INSERT_PORT_[]; 4713324Sgabeblack@google.comextern const char SC_ID_REMOVE_PORT_[]; 4813324Sgabeblack@google.comextern const char SC_ID_GET_IF_[]; 4913324Sgabeblack@google.comextern const char SC_ID_INSERT_PRIM_CHANNEL_[]; 5013324Sgabeblack@google.comextern const char SC_ID_REMOVE_PRIM_CHANNEL_[]; 5113324Sgabeblack@google.comextern const char SC_ID_MORE_THAN_ONE_SIGNAL_DRIVER_[]; 5213324Sgabeblack@google.comextern const char SC_ID_NO_DEFAULT_EVENT_[]; 5313324Sgabeblack@google.comextern const char SC_ID_RESOLVED_PORT_NOT_BOUND_[]; 5413324Sgabeblack@google.comextern const char SC_ID_FIND_EVENT_[]; 5513324Sgabeblack@google.comextern const char SC_ID_INVALID_SEMAPHORE_VALUE_[]; 5613324Sgabeblack@google.comextern const char SC_ID_SC_EXPORT_HAS_NO_INTERFACE_[]; 5713324Sgabeblack@google.comextern const char SC_ID_INSERT_EXPORT_[]; 5813324Sgabeblack@google.comextern const char SC_ID_EXPORT_OUTSIDE_MODULE_[]; 5913324Sgabeblack@google.comextern const char SC_ID_SC_EXPORT_NOT_REGISTERED_[]; 6013324Sgabeblack@google.comextern const char SC_ID_SC_EXPORT_NOT_BOUND_AFTER_CONSTRUCTION_[]; 6113324Sgabeblack@google.comextern const char SC_ID_ATTEMPT_TO_WRITE_TO_CLOCK_[]; 6213324Sgabeblack@google.comextern const char SC_ID_SC_EXPORT_ALREADY_BOUND_[]; 6313324Sgabeblack@google.comextern const char SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_[]; 6413324Sgabeblack@google.comextern const char SC_ID_ATTEMPT_TO_BIND_CLOCK_TO_OUTPUT_[]; 6513324Sgabeblack@google.comextern const char SC_ID_NO_ASYNC_UPDATE_[]; 6613324Sgabeblack@google.com 6713324Sgabeblack@google.com} // namespace sc_core 6813324Sgabeblack@google.com 6913324Sgabeblack@google.com#endif // __SYSTEMC_EXT_CHANNEL_MESSAGES_HH__ 70