1/*****************************************************************************
2
3  Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
4  more contributor license agreements.  See the NOTICE file distributed
5  with this work for additional information regarding copyright ownership.
6  Accellera licenses this file to you under the Apache License, Version 2.0
7  (the "License"); you may not use this file except in compliance with the
8  License.  You may obtain a copy of the License at
9
10    http://www.apache.org/licenses/LICENSE-2.0
11
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15  implied.  See the License for the specific language governing
16  permissions and limitations under the License.
17
18 *****************************************************************************/
19
20/*****************************************************************************
21
22  sc_constants.h -- Default constants whose values may need to be
23                    changed depending on the application.
24
25  Original Author: Ali Dasdan, Synopsys, Inc.
26
27  CHANGE LOG AT THE END OF THE FILE
28 *****************************************************************************/
29
30#ifndef SC_CONSTANTS_H
31#define SC_CONSTANTS_H
32
33namespace sc_core {
34
35// Maximum number of bits for arbitrary precision arithmetic. If
36// defined, the arithmetic becomes faster. If not defined, the
37// arithmetic becomes slower and the precision becomes infinite.  It
38// is a good idea to define this constant as a multiple of
39// BITS_PER_DIGIT, which is defined in numeric_bit/sc_nbdefs.h.
40//#define SC_MAX_NBITS    510    // 17 * BITS_PER_DIGIT
41
42
43// deprecated in 1666-2005 and later, but kept for backwards compatibility
44//  - can be set by defining SC_OVERRIDE_DEFAULT_STACK_SIZE
45//  - defaults defined in sc_thread_process.cpp
46extern const int SC_DEFAULT_STACK_SIZE;
47
48
49#ifdef DEBUG_SYSTEMC
50const int SC_MAX_NUM_DELTA_CYCLES = 10000;
51#endif
52
53} // namespace sc_core
54
55// $Log: sc_constants.h,v $
56// Revision 1.7  2011/08/26 20:46:09  acg
57//  Andy Goodrich: moved the modification log to the end of the file to
58//  eliminate source line number skew when check-ins are done.
59//
60// Revision 1.6  2011/02/18 20:33:26  acg
61//  Philipp A. Hartmann: added default stack size for CYGWIN32.
62//
63// Revision 1.5  2011/02/18 20:27:14  acg
64//  Andy Goodrich: Updated Copyrights.
65//
66// Revision 1.4  2011/02/13 21:47:37  acg
67//  Andy Goodrich: update copyright notice.
68//
69// Revision 1.3  2010/03/15 18:29:25  acg
70//  Andy Goodrich: Changed the default stack size to 128K from 64K.
71//
72// Revision 1.2  2008/05/22 17:06:24  acg
73//  Andy Goodrich: updated copyright notice to include 2008.
74//
75// Revision 1.1.1.1  2006/12/15 20:20:05  acg
76// SystemC 2.3
77//
78// Revision 1.3  2006/01/13 18:44:29  acg
79// Added $Log to record CVS changes into the source.
80//
81
82#endif
83