sc_constants.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002 
00003   The following code is derived, directly or indirectly, from the SystemC
00004   source code Copyright (c) 1996-2006 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 Version 2.4 (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.systemc.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_constants.h -- Default constants whose values may need to be
00021                     changed depending on the application.
00022 
00023   Original Author: Ali Dasdan, Synopsys, Inc.
00024 
00025  *****************************************************************************/
00026 
00027 /*****************************************************************************
00028 
00029   MODIFICATION LOG - modifiers, enter your name, affiliation, date and
00030   changes you are making here.
00031 
00032       Name, Affiliation, Date:
00033   Description of Modification:
00034 
00035  *****************************************************************************/
00036 // $Log: sc_constants.h,v $
00037 // Revision 1.1.1.1  2006/12/15 20:31:36  acg
00038 // SystemC 2.2
00039 //
00040 // Revision 1.3  2006/01/13 18:44:29  acg
00041 // Added $Log to record CVS changes into the source.
00042 //
00043 
00044 #ifndef SC_CONSTANTS_H
00045 #define SC_CONSTANTS_H
00046 
00047 namespace sc_core {
00048 
00049 // Maximum number of bits for arbitrary precision arithmetic. If
00050 // defined, the arithmetic becomes faster. If not defined, the
00051 // arithmetic becomes slower and the precision becomes infinite.  It
00052 // is a good idea to define this constant as a multiple of
00053 // BITS_PER_DIGIT, which is defined in numeric_bit/sc_nbdefs.h.
00054 //#define SC_MAX_NBITS    510    // 17 * BITS_PER_DIGIT
00055 
00056 
00057 const int SC_DEFAULT_STACK_SIZE   = 0x10000;
00058 const int SC_MAX_WATCH_LEVEL      = 16;
00059 
00060 #ifdef DEBUG_SYSTEMC
00061 const int SC_MAX_NUM_DELTA_CYCLES = 10000;
00062 #endif
00063 
00064 } // namespace sc_core
00065 
00066 #endif

Generated on Wed Jan 21 15:32:09 2009 for SystemC by  doxygen 1.5.5