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", "gray", "purple");
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 "/L10" => "",
50 "Line" => "",
51 "Comment" => "",
52 "=" => "",
53 "//" => "",
54 "Block" => "",
55 "On" => "",
56 "/*" => "",
57 "Off" => "",
58 "*/" => "",
59 "String" => "",
60 "Chars" => "",
61 "\"" => "",
62 "File" => "",
63 "Extensions" => "",
64 "V" => "",
65 "VMD" => "",
66 "always" => "1",
67 "and" => "1",
68 "assign" => "1",
69 "begin" => "1",
70 "buf" => "1",
71 "bufif0" => "1",
72 "bufif1" => "1",
73 "case" => "1",
74 "casex" => "1",
75 "casez" => "1",
76 "cmos" => "1",
77 "deassign" => "1",
78 "default" => "1",
79 "defparam" => "1",
80 "disable" => "1",
81 "edge" => "1",
82 "else" => "3",
83 "end" => "1",
84 "endcase" => "1",
85 "endmodule" => "1",
86 "endfunction" => "1",
87 "endprimitive" => "1",
88 "endspecify" => "1",
89 "endtable" => "1",
90 "endtask" => "1",
91 "event" => "1",
92 "for" => "1",
93 "force" => "1",
94 "forever" => "1",
95 "fork" => "1",
96 "function" => "1",
97 "highz0" => "1",
98 "highz1" => "1",
99 "if" => "1",
100 "initial" => "1",
101 "inout" => "1",
102 "input" => "1",
103 "integer" => "1",
104 "join" => "1",
105 "large" => "1",
106 "Library" => "1",
107 "macromodule" => "1",
108 "medium" => "1",
109 "module" => "1",
110 "nand" => "1",
111 "negedge" => "1",
112 "nmos" => "1",
113 "nor" => "1",
114 "not" => "1",
115 "notif0" => "1",
116 "notif1" => "1",
117 "or" => "1",
118 "output" => "1",
119 "parameter" => "1",
120 "pmos" => "1",
121 "posedge" => "1",
122 "primitive" => "1",
123 "pull0" => "1",
124 "pull1" => "1",
125 "pullup" => "1",
126 "pulldown" => "1",
127 "rcmos" => "1",
128 "reg" => "1",
129 "release" => "1",
130 "repeat" => "1",
131 "rnmos" => "1",
132 "rpmos" => "1",
133 "rtran" => "1",
134 "rtranif0" => "1",
135 "rtanif1" => "1",
136 "scalared" => "1",
137 "small" => "1",
138 "specify" => "1",
139 "specparam" => "1",
140 "strength" => "1",
141 "strong0" => "1",
142 "strong1" => "1",
143 "supply0" => "1",
144 "supply1" => "1",
145 "table" => "1",
146 "task" => "1",
147 "time" => "1",
148 "tran" => "1",
149 "tranif0" => "1",
150 "tranif1" => "1",
151 "tri1" => "1",
152 "tri0" => "1",
153 "triand" => "1",
154 "trior" => "1",
155 "trireg" => "1",
156 "vectored" => "1",
157 "wait" => "1",
158 "wand" => "1",
159 "weak0" => "1",
160 "weak1" => "1",
161 "while" => "1",
162 "wire" => "1",
163 "wor" => "1",
164 "xnor" => "1",
165 "xor" => "1",
166 "$bitstoreal" => "2",
167 "$countdrivers" => "2",
168 "$display" => "2",
169 "$fclose" => "2",
170 "$fdisplay" => "2",
171 "$finish" => "2",
172 "$fmonitor" => "2",
173 "$fopen" => "2",
174 "$fstrobe" => "2",
175 "$fwrite" => "2",
176 "$getpattern" => "2",
177 "$history" => "2",
178 "$hold" => "2",
179 "$incsave" => "2",
180 "$input" => "2",
181 "$itor" => "2",
182 "$key" => "2",
183 "$list" => "2",
184 "$log" => "2",
185 "$monitor" => "2",
186 "$monitoroff" => "2",
187 "$monitoron" => "2",
188 "$nokey" => "2",
189 "$nolog" => "2",
190 "$period" => "2",
191 "$printtimescale" => "2",
192 "$readmemb" => "2",
193 "$readmemh" => "2",
194 "$realtime" => "2",
195 "$realtobits" => "2",
196 "$recovery" => "2",
197 "$reset" => "2",
198 "$reset_count" => "2",
199 "$reset_value" => "2",
200 "$restart" => "2",
201 "$rtoi" => "2",
202 "$save" => "2",
203 "$scale" => "2",
204 "$scope" => "2",
205 "$setup" => "2",
206 "$setuphold" => "2",
207 "$showscopes" => "2",
208 "$showvariables" => "2",
209 "$showvars" => "2",
210 "$skew" => "2",
211 "$sreadmemb" => "2",
212 "$sreadmemh" => "2",
213 "$stime" => "2",
214 "$stop" => "2",
215 "$strobe" => "2",
216 "$time" => "2",
217 "$timeformat" => "2",
218 "$width" => "2",
219 "$write" => "2",
220 "`accelerate" => "3",
221 "`autoexepand_vectornets" => "3",
222 "`celldefine" => "3",
223 "`default_nettype" => "3",
224 "`define" => "3",
225 "`else" => "3",
226 "`endcelldefine" => "3",
227 "`endif" => "3",
228 "`endprotect" => "3",
229 "`endprotected" => "3",
230 "`expand_vectornets" => "3",
231 "`ifdef" => "3",
232 "`include" => "3",
233 "`noaccelerate" => "3",
234 "`noexpand_vectornets" => "3",
235 "`noremove_gatenames" => "3",
236 "`noremove_netnames" => "3",
237 "`nounconnected_drive" => "3",
238 "`protect" => "3",
239 "`protected" => "3",
240 "`remove_gatenames" => "3",
241 "`remove_netnames" => "3",
242 "`resetall" => "3",
243 "`timescale" => "3",
244 "`unconnected_drive" => "3",
245 "accelerate" => "3",
246 "autoexepand_vectornets" => "3",
247 "celldefine" => "3",
248 "default_nettype" => "3",
249 "define" => "3",
250 "endcelldefine" => "3",
251 "endif" => "3",
252 "endprotect" => "3",
253 "endprotected" => "3",
254 "expand_vectornets" => "3",
255 "ifdef" => "3",
256 "include" => "3",
257 "noaccelerate" => "3",
258 "noexpand_vectornets" => "3",
259 "noremove_gatenames" => "3",
260 "noremove_netnames" => "3",
261 "nounconnected_drive" => "3",
262 "protect" => "3",
263 "protected" => "3",
264 "remove_gatenames" => "3",
265 "remove_netnames" => "3",
266 "resetall" => "3",
267 "timescale" => "3",
268 "unconnected_drive" => "3",
269 "," => "3",
270 ";" => "3",
271 "{" => "3",
272 "}" => "3",
273 "+" => "3",
274 "-" => "3",
275 "*" => "3",
276 "/" => "3",
277 "%" => "3",
278 ">" => "3",
279 ">=" => "3",
280 ">>" => "3",
281 "<" => "3",
282 "<=" => "3",
283 "<<" => "3",
284 "!" => "3",
285 "!=" => "3",
286 "!==" => "3",
287 "&" => "3",
288 "&&" => "3",
289 "|" => "3",
290 "||" => "3",
291 "==" => "3",
292 "===" => "3",
293 "^" => "3",
294 "^~" => "3",
295 "~" => "3",
296 "~^" => "3",
297 "~&" => "3",
298 "~|" => "3",
299 "?" => "3",
300 ":" => "3",
301 "#" => "3",
302 "@" => "3");
303
304
305
306
307
308
309
310
311 $this->linkscripts = array(
312 "" => "donothing",
313 "1" => "donothing",
314 "3" => "donothing",
315 "2" => "donothing");
316 }