synthesis_header.h

Go to the documentation of this file.
00001 // vim:set et sts=4 ts=4 tw=75 sw=4 ai ci cin cino=g0,t0:
00002 /*
00003  * Copyright (C) 2007, Technical Computer Science Group,
00004  *                     University of Bonn
00005  *
00006  * This file is part of the ReChannel library.
00007  *
00008  * The ReChannel library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License as
00010  * published by the Free Software Foundation; either version 2 of the
00011  * License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be
00014  * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this library; see the file COPYING. If not, write to the
00020  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
00021  * Boston, MA 02110-1301, USA.
00022  *
00023  * Authors: Andreas Raabe and Armin Felke. Implementation by Armin Felke.
00024  *          {raabe, felke}@cs.uni-bonn.de
00025  */
00038 #ifndef RC_SYNTHESIS_HEADER_H_
00039 #define RC_SYNTHESIS_HEADER_H_
00040 
00041 #include <systemc.h>
00042 
00043 #if !defined(RC_MAKE_DOXYGEN_DOCS)
00044 
00045 #define ReChannel sc_core
00046 
00047 #define rc_module                        sc_module
00048 #define rc_behavior                      sc_behavior
00049 #define rc_channel                       sc_channel
00050 #define rc_module_name                   sc_module_name
00051 #define RC_MODULE(user_module_name)      SC_MODULE(user_module_name)
00052 #define RC_CTOR(user_module_name)        SC_CTOR(user_module_name)
00053 #define RC_HAS_PROCESS(user_module_name) SC_HAS_PROCESS(user_module_name)
00054 #define RC_METHOD(func)                  SC_METHOD(func)
00055 #define RC_THREAD(func)                  SC_THREAD(func)
00056 #define RC_CTHREAD(func, edge)           SC_CTHREAD(func)
00057 
00058 #define rc_signal             sc_signal
00059 #define rc_buffer             sc_buffer
00060 #define rc_signal_resolved    sc_signal_resolved
00061 #define rc_signal_rv          sc_signal_rv
00062 #define rc_fifo               sc_fifo
00063 
00064 #define rc_sc_signal          sc_signal
00065 #define rc_sc_buffer          sc_buffer
00066 #define rc_sc_signal_resolved sc_signal_resolved
00067 #define rc_sc_signal_rv       sc_signal_rv
00068 #define rc_sc_fifo            sc_fifo
00069 
00070 #define rc_port            sc_port
00071 #define rc_in              sc_in
00072 #define rc_out             sc_out
00073 #define rc_inout           sc_inout
00074 #define rc_fifo_in         sc_fifo_in
00075 #define rc_fifo_out        sc_fifo_out
00076 #define rc_in_resolved     sc_in_resolved
00077 #define rc_out_resolved    sc_out_resolved
00078 #define rc_inout_resolved  sc_inout_resolved
00079 #define rc_in_rv           sc_in_rv
00080 #define rc_out_rv          sc_out_rv
00081 #define rc_inout_rv        sc_inout_rv
00082 
00083 #define rc_export          sc_export
00084 
00085 #define rc_join            sc_join
00086 #define RC_FORK            SC_FORK
00087 #define RC_JOIN            SC_JOIN
00088 
00089 #define rc_event           sc_event
00090 
00091 #define RC_HAS_VAR()               /*ignore*/
00092 #define RC_VAR(type, name)         type name
00093 #define rc_var(type, name)         type name
00094 #define RC_DECLARE_VAR(type, name) /*ignore*/
00095 #define rc_declare_var(type, name) /*ignore*/
00096 
00097 #define RC_TRANSACTION             /*ignore*/
00098 
00099 #define rc_spawn           sc_spawn
00100 #define rc_spawn_options   sc_spawn_options
00101 #define rc_bind            sc_bind
00102 #define rc_ref             sc_ref
00103 #define rc_cref            sc_cref
00104 #define rc_get_current_process_handle sc_get_current_process
00105 #define rc_process_handle  sc_process_handle
00106 #define rc_wait            wait
00107 #define rc_next_trigger    next_trigger
00108 
00109 #define RC_REPORT_INFO     SC_REPORT_INFO
00110 #define RC_REPORT_WARNING  SC_REPORT_WARNING
00111 #define RC_REPORT_ERROR    SC_REPORT_ERROR
00112 #define RC_REPORT_FATAL    SC_REPORT_FATAL
00113 #define rc_assert          sc_assert
00114 
00115 #define RC_STATIC_ASSERT(name_, assertion_)   /*ignore*/
00116 #define RC_STATIC_ASSERT_T(name_, assertion_) /*ignore*/
00117 
00118 #define RC_REPORT_DEBUG(msg)   /*ignore*/
00119 #define RC_REPORT_DEBUG_1(msg) /*ignore*/
00120 #define RC_REPORT_DEBUG_2(msg) /*ignore*/
00121 #define RC_REPORT_DEBUG_3(msg) /*ignore*/
00122 #define RC_REPORT_DEBUG_4(msg) /*ignore*/
00123 #define RC_REPORT_DEBUG_5(msg) /*ignore*/
00124 
00125 #define RC_COUT(msg)  /*ignore*/
00126 #define RC_COUTL(msg) /*ignore*/
00127 
00128 #endif // !defined(RC_MAKE_DOXYGEN_DOCS)
00129 
00130 #endif // RC_SYNTHESIS_HEADER_H_
00131 
00132 //
00133 // $Id: synthesis_header.h,v 1.5 2007/10/14 12:42:29 felke Exp $
00134 // $Source: /var/cvs/projekte/ReChannel-v2/src/ReChannel/synthesis_header.h,v $
00135 //

Generated on Tue Jan 1 23:14:06 2008 for ReChannel by  doxygen 1.5.3