9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
+
+
+
|
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.14 2000/10/17 08:36:56 peterg
## Included logic rep.
##
## Revision 1.13 2000/10/15 09:27:13 peterg
## Better way of generating $infofile
##
## Revision 1.12 2000/10/14 16:11:00 peterg
## Made all variables, states etc lower case
##
## Revision 1.11 2000/10/13 11:07:00 peterg
|
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
-
+
-
+
|
default='0.0'
;;
logic)
lang=txt
textfile=$1_$2.$lang
infofile=mtt_list.$lang
moreinfofile=mtt_list_numpar.$lang
awk '{if ($3=="MTT_SWITCH") printf("%s\n", $4)}' rep=$2 \
awk '{if ($3=="MTT_SWITCH") printf("%s_logic\n", $4)}' rep=$2 \
<$1_struc.txt >$infofile
cat $infofile $1_sympar.$lang> $moreinfofile
default='0.0'
default='1.0'
;;
*)
echo Representation $rep not implemented
exit
esac
# Create a string containing the variables
|