2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"purple",
"gray",
"brown",
"blue",
"purple");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array();
28 $this->unindent = array();
32 $this->stringchars = array();
33 $this->delimiters = array(
"~",
"!",
"@",
"$",
"%",
"^",
"&",
"*",
"(",
")",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"<",
">",
" ",
" ",
",",
".",
"?",
"/",
" ");
38 $this->linecommenton = array(
"--");
39 $this->blockcommenton = array(
"--");
40 $this->blockcommentoff = array(
"--");
44 $this->keywords = array(
51 "architecture" =>
"1",
62 "configuration" =>
"1",
148 "std_logic_vector" =>
"2",
155 "ActivPullUp" =>
"5",
161 "CntNBitDown" =>
"5",
166 "CntNBitUpDown" =>
"5",
169 "DiffH2LWithFF" =>
"5",
170 "DiffL2HWithFF" =>
"5",
180 "PreScale1Bit" =>
"5",
181 "PreScale1BitAR" =>
"5",
182 "PreScale1BitARNegClk" =>
"5",
183 "PreScaleNBit" =>
"5",
184 "PreScaleNBitAR" =>
"5",
192 "RsSynchronizer" =>
"5",
193 "ShiftP2SRegNBitAR" =>
"5",
194 "ShiftRegNBitAR" =>
"5",
195 "ShiftS2SRegNBit" =>
"5",
197 "SyncAndDiffL2HWithFF" =>
"5",
198 "SyncAndDiffH2LWithFF" =>
"5",
199 "SyncAndDiffL2HWithFFAndFg" =>
"5",
200 "SyncAndDiffH2LWithFFAndFg" =>
"5",
201 "SyncAndDiffLL2HHWithFF" =>
"5",
202 "SyncAndDiffHH2LLWithFF" =>
"5",
203 "SyncAndDiffLL2HHWithFFAndFg" =>
"5",
204 "SyncAndDiffHH2LLWithFFAndFg" =>
"5",
205 "ActivPullUp_arch" =>
"6",
207 "And2FF_arch" =>
"6",
208 "AndNFF_arch" =>
"6",
209 "Cnt1Bit_arch" =>
"6",
210 "CntNBit_arch" =>
"6",
211 "CntNBitDown_arch" =>
"6",
212 "CntNBitMod_arch" =>
"6",
213 "CntNBitOe_arch" =>
"6",
214 "CntNBitSLd_arch" =>
"6",
215 "CntNBitSR_arch" =>
"6",
216 "CntNBitUpDown_arch" =>
"6",
217 "CompNBit_arch" =>
"6",
218 "CompNBitFF_arch" =>
"6",
219 "DiffH2LWithFF_arch" =>
"6",
220 "DiffL2HWithFF_arch" =>
"6",
222 "Dff1NegClk_arch" =>
"6",
224 "Encode4to5_arch" =>
"6",
225 "Mux1of2_arch" =>
"6",
226 "Mux1of8_arch" =>
"6",
227 "Mux1Vof2V_arch" =>
"6",
228 "Mux1Vof3V_arch" =>
"6",
229 "Mux1Vof4V_arch" =>
"6",
230 "PreScale1Bit_arch" =>
"6",
231 "PreScale1BitAR_arch" =>
"6",
232 "PreScale1BitARNegClk_arch" =>
"6",
233 "PreScaleNBit_arch" =>
"6",
234 "PreScaleNBitAR_arch" =>
"6",
235 "Reg1Bit_arch" =>
"6",
236 "Reg1BitAR_arch" =>
"6",
237 "Reg1BitR_arch" =>
"6",
238 "RegNBit_arch" =>
"6",
239 "RegNBitAR_arch" =>
"6",
240 "RSFFAsync_arch" =>
"6",
241 "RSFFsync_arch" =>
"6",
242 "RsSynchronizer_arch" =>
"6",
243 "ShiftP2SRegNBitAR_arch" =>
"6",
244 "ShiftRegNBitAR_arch" =>
"6",
245 "ShiftS2SRegNBit_arch" =>
"6",
246 "SRFFsync_arch" =>
"6",
247 "SyncAndDiffL2HWithFF_arch" =>
"6",
248 "SyncAndDiffH2LWithFF_arch" =>
"6",
249 "SyncAndDiffL2HWithFFAndFg_arch" =>
"6",
250 "SyncAndDiffH2LWithFFAndFg_arch" =>
"6",
251 "SyncAndDiffLL2HHWithFF_arch" =>
"6",
252 "SyncAndDiffHH2LLWithFF_arch" =>
"6",
253 "SyncAndDiffLL2HHWithFFAndFg_arch" =>
"6",
254 "SyncAndDiffHH2LLWithFFAndFg_arch" =>
"6");
263 $this->linkscripts = array(