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_externs.h -- Declaration of `sc_main' and other global variables. 00021 00022 Original Author: Stan Y. Liao, Synopsys, Inc. 00023 00024 CHANGE LOG AT THE END OF THE FILE 00025 *****************************************************************************/ 00026 00027 00028 #ifndef SC_EXTERNS_H 00029 #define SC_EXTERNS_H 00030 00031 00032 00033 extern "C" int sc_main( int argc, char* argv[] ); 00034 00035 namespace sc_core { 00036 extern "C" int sc_elab_and_sim( int argc, char* argv[] ); 00037 extern "C" int sc_argc(); 00038 extern "C" const char* const* sc_argv(); 00039 00040 } // namespace sc_core 00041 00042 // $Log: sc_externs.h,v $ 00043 // Revision 1.5 2011/08/26 20:46:09 acg 00044 // Andy Goodrich: moved the modification log to the end of the file to 00045 // eliminate source line number skew when check-ins are done. 00046 // 00047 // Revision 1.4 2011/02/18 20:27:14 acg 00048 // Andy Goodrich: Updated Copyrights. 00049 // 00050 // Revision 1.3 2011/02/13 21:47:37 acg 00051 // Andy Goodrich: update copyright notice. 00052 // 00053 // Revision 1.2 2008/05/22 17:06:25 acg 00054 // Andy Goodrich: updated copyright notice to include 2008. 00055 // 00056 // Revision 1.1.1.1 2006/12/15 20:20:05 acg 00057 // SystemC 2.3 00058 // 00059 // Revision 1.3 2006/01/13 18:44:29 acg 00060 // Added $Log to record CVS changes into the source. 00061 // 00062 00063 #endif