00001 /***************************************************************************** 00002 00003 The following code is derived, directly or indirectly, from the SystemC 00004 source code Copyright (c) 1996-2014 by all Contributors. 00005 All Rights reserved. 00006 00007 The contents of this file are subject to the restrictions and limitations 00008 set forth in the SystemC Open Source License (the "License"); 00009 You may not use this file except in compliance with such restrictions and 00010 limitations. You may obtain instructions on how to receive a copy of the 00011 License at http://www.accellera.org/. Software distributed by Contributors 00012 under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF 00013 ANY KIND, either express or implied. See the License for the specific 00014 language governing rights and limitations under the License. 00015 00016 *****************************************************************************/ 00017 00018 /***************************************************************************** 00019 00020 sc_clock_ports.h -- The clock ports. 00021 00022 Original Author: Martin Janssen, Synopsys, Inc., 2001-05-21 00023 00024 CHANGE LOG IS AT THE END OF THE FILE 00025 *****************************************************************************/ 00026 00027 #ifndef SC_CLOCK_PORTS_H 00028 #define SC_CLOCK_PORTS_H 00029 00030 00031 #include "sysc/communication/sc_signal_ports.h" 00032 00033 namespace sc_core { 00034 00035 // ---------------------------------------------------------------------------- 00036 // The clock ports. 00037 // 00038 // (Provided for backward compatibility reasons.) 00039 // ---------------------------------------------------------------------------- 00040 00041 // 03/31/2015 GL: to handle typedef in future 00042 // TODO: Patched 03/31/15 by RD, TS: 00043 //typedef sc_in<bool> sc_in_clk; 00044 // TODO: This is only a work around (by Tim!). Rose cannot process this otherwise... 00045 class sc_in_clk: public sc_in<bool> 00046 { }; 00047 00048 // TODO: Patched 03/31/15 by RD, TS: 00049 //typedef sc_inout<bool> sc_inout_clk; 00050 // TODO: This is only a work around (by Tim!). Rose cannot process this otherwise... 00051 class sc_inout_clk: public sc_inout<bool> 00052 { }; 00053 00054 // TODO: Patched 03/31/15 by RD, TS: 00055 //typedef sc_out<bool> sc_out_clk; 00056 // TODO: This is only a work around (by Tim!). Rose cannot process this otherwise... 00057 class sc_out_clk: public sc_out<bool> 00058 { }; 00059 00060 } // namespace sc_core 00061 00062 //$Log: sc_clock_ports.h,v $ 00063 //Revision 1.3 2011/08/26 20:45:39 acg 00064 // Andy Goodrich: moved the modification log to the end of the file to 00065 // eliminate source line number skew when check-ins are done. 00066 // 00067 //Revision 1.2 2011/02/18 20:23:45 acg 00068 // Andy Goodrich: Copyright update. 00069 // 00070 //Revision 1.1.1.1 2006/12/15 20:20:04 acg 00071 //SystemC 2.3 00072 // 00073 //Revision 1.2 2006/01/03 23:18:26 acg 00074 //Changed copyright to include 2006. 00075 // 00076 //Revision 1.1.1.1 2005/12/19 23:16:43 acg 00077 //First check in of SystemC 2.1 into its own archive. 00078 // 00079 //Revision 1.8 2005/06/10 22:43:55 acg 00080 //Added CVS change log annotation. 00081 // 00082 00083 #endif 00084 00085 // Taf!