10 {
12
13
14
15
16
17
18 $this->nocase = "0";
19 $this->notrim = "0";
20 $this->perl = "0";
21
22
23
24 $this->colours = array("blue", "purple", "gray");
25 $this->quotecolour = "blue";
26 $this->blockcommentcolour = "green";
27 $this->linecommentcolour = "green";
28
29
30
31 $this->indent = array();
32 $this->unindent = array();
33
34
35
36 $this->stringchars = array();
37 $this->delimiters = array("!", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", "?");
38 $this->escchar = "";
39
40
41
42 $this->linecommenton = array("\"");
43 $this->blockcommenton = array("");
44 $this->blockcommentoff = array("");
45
46
47
48 $this->keywords = array(
49 "ASYNC_RESET" => "1",
50 "Buffer" => "1",
51 "Collapse" => "1",
52 "Case" => "1",
53 "Com" => "1",
54 "DECLARATIONS" => "1",
55 "Dc" => "1",
56 "Declarations" => "1",
57 "Device" => "1",
58 "EQUATIONS" => "1",
59 "End" => "1",
60 "Equations" => "1",
61 "Else" => "1",
62 "Equations." => "1",
63 "FUNCTIONAL_BLOCK" => "1",
64 "FUSES" => "1",
65 "Functional_block" => "1",
66 "Fuses" => "1",
67 "Goto" => "1",
68 "INTERFACE" => "1",
69 "If-Then-Else" => "1",
70 "In" => "1",
71 "Interface" => "1",
72 "Istype" => "1",
73 "If" => "1",
74 "Invert" => "1",
75 "Keep" => "1",
76 "Library" => "1",
77 "MACRO" => "1",
78 "Macro" => "1",
79 "Module" => "1",
80 "Node" => "1",
81 "Neg" => "1",
82 "Output" => "1",
83 "Pin" => "1",
84 "Property" => "1",
85 "PIN" => "1",
86 "Pos" => "1",
87 "Reg" => "1",
88 "Reg_D" => "1",
89 "Reg_G" => "1",
90 "Reg_JK" => "1",
91 "Reg_SR" => "1",
92 "Reg_T" => "1",
93 "Retain" => "1",
94 "STATE_DIAGRAM" => "1",
95 "STATE_REGISTER" => "1",
96 "SYNC_RESET" => "1",
97 "State" => "1",
98 "State_Diagram" => "1",
99 "State_register" => "1",
100 "Sync_reset" => "1",
101 "Signal" => "1",
102 "TEST_VECTORS" => "1",
103 "TITLE" => "1",
104 "TRUTH_TABLE" => "1",
105 "Test_Vectors" => "1",
106 "Title" => "1",
107 "Trace" => "1",
108 "Truth_Table" => "1",
109 "Test_vectors" => "1",
110 "Then" => "1",
111 "When-Then-Else" => "1",
112 "With" => "1",
113 "XOR" => "1",
114 "XOR_FACTORS" => "1",
115 "XOR_Factors" => "1",
116 "Xor" => "1",
117 "@Alternate" => "2",
118 "@Carry" => "2",
119 "@Const" => "2",
120 "@Dcset" => "2",
121 "@Dcstate" => "2",
122 "@Exit" => "2",
123 "@Expr" => "2",
124 "@If" => "2",
125 "@Ifb" => "2",
126 "@Ifdef" => "2",
127 "@Ifiden" => "2",
128 "@Ifnb" => "2",
129 "@Ifndef" => "2",
130 "@Ifniden" => "2",
131 "@Include" => "2",
132 "@Irp" => "2",
133 "@Irpc" => "2",
134 "@Message" => "2",
135 "@Onset" => "2",
136 "@Page" => "2",
137 "@Radix" => "2",
138 "@Repeat" => "2",
139 "@Setsize" => "2",
140 "@Standard" => "2",
141 ".ACLR" => "3",
142 ".ASET" => "3",
143 ".AP" => "3",
144 ".AR" => "3",
145 ".CE" => "3",
146 ".CLK" => "3",
147 ".CLR" => "3",
148 ".SET" => "3",
149 ".COM" => "3",
150 ".D" => "3",
151 ".FB" => "3",
152 ".FC" => "3",
153 ".J" => "3",
154 ".K" => "3",
155 ".LD" => "3",
156 ".LE" => "3",
157 ".LH" => "3",
158 ".OE" => "3",
159 ".PIN" => "3",
160 ".PR" => "3",
161 ".Q" => "3",
162 ".R" => "3",
163 ".RE" => "3",
164 ".S" => "3",
165 ".SP" => "3",
166 ".SR" => "3");
167
168
169
170
171
172
173
174
175 $this->linkscripts = array(
176 "1" => "donothing",
177 "2" => "donothing",
178 "3" => "donothing");
179 }