File: options.h

package info (click to toggle)
tkgate 2.1%2Brepack-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 28,384 kB
  • sloc: ansic: 62,300; tcl: 20,345; xml: 2,731; yacc: 1,177; lex: 839; sh: 664; makefile: 180; perl: 39
file content (106 lines) | stat: -rw-r--r-- 4,373 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/****************************************************************************
    Copyright (C) 1987-2015 by Jeffery P. Hansen

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
****************************************************************************/
#ifndef __options_h
#define __options_h

/******************************************************************************
 *
 * Tcl Library - If TkGate can not find init.tcl, uncomment this line and set
 * it to the directory that contains the "init.tcl" file for your tcl
 * installation.
 *
 ******************************************************************************/
/* #define TCL_LIBRARY "/usr/lib/tcl8.4" */

/******************************************************************************
 *
 * Tk Library - If TkGate can not find the Tk library, uncomment this line and
 * set it to the directory that contains the Tk library.  This directory should
 * include files such as "tk.tcl", "button.tcl", etc.
 *
 ******************************************************************************/
/* #define TK_LIBRARY "/usr/lib/tk8.4" */


/******************************************************************************
 *
 * Compiler "CFLAG" options.  Need to rerun "./configure" to become effective.
 *
 ******************************************************************************/
#define TKGATE_CFLAGS -O2 -g -Wall -Werror -Wno-error=unused-function


/******************************************************************************
 *
 * Set this to '1' if you get an error about Tk_ConfigureWidget
 * when running tkgate.
 *
 ******************************************************************************/
#define TKGATE_BROKENCONFIGWIDGET 0


/******************************************************************************
 *
 *  Maximum number of delay parameters for a gate
 *
 ******************************************************************************/
#define MAXDELAYS               16

/******************************************************************************
 *
 *  Maximum number of parameters (other than delay) for a module
 *
 ******************************************************************************/
#define MAXPARMS                16

/******************************************************************************
 *
 * Maximum number of arguments in an error message
 *
 ******************************************************************************/
#define MAXARGS                 16

/******************************************************************************
 *
 * Bus width symbol adjustment.  These values are used to tweek the position
 * of the bus width "slash" on vertical and horizontal busses due to variations
 * in X implementations.
 *
 ******************************************************************************/
#define TKGATE_BUSW_VERT 0      /* x tweek for vertical busses */
#define TKGATE_BUSW_HORZ 0      /* y tweek for horizontal busses */

/******************************************************************************
 *
 * Wire tweeks.  These tweeks are used to adjust the length of wire endpoints
 * to compensate for variations in X implementations.
 *
 ******************************************************************************/
#define TKGATE_WIRETWEEK_RIGHT          1
#define TKGATE_WIRETWEEK_LEFT           0
#define TKGATE_WIRETWEEK_TOP            0
#define TKGATE_WIRETWEEK_BOTTOM         1

/******************************************************************************
 *
 * Default font encoding for display.
 *
 ******************************************************************************/
#define TKGATE_DEFAULT_FONT_CODE      "iso8859-1"

#endif