00001 <?php
00002 $BEAUT_PATH = realpath(".")."/syntax_highlight/php";
00003 if (!isset ($BEAUT_PATH)) return;
00004 require_once("$BEAUT_PATH/Beautifier/HFile.php");
00005 class HFile_epld extends HFile{
00006 function HFile_epld(){
00007 $this->HFile();
00008
00009
00010
00011
00012
00013
00014 $this->nocase = "0";
00015 $this->notrim = "0";
00016 $this->perl = "0";
00017
00018
00019
00020 $this->colours = array("blue", "purple", "gray");
00021 $this->quotecolour = "blue";
00022 $this->blockcommentcolour = "green";
00023 $this->linecommentcolour = "green";
00024
00025
00026
00027 $this->indent = array();
00028 $this->unindent = array();
00029
00030
00031
00032 $this->stringchars = array();
00033 $this->delimiters = array("!", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", " ", "?");
00034 $this->escchar = "";
00035
00036
00037
00038 $this->linecommenton = array("\"");
00039 $this->blockcommenton = array("");
00040 $this->blockcommentoff = array("");
00041
00042
00043
00044 $this->keywords = array(
00045 "ASYNC_RESET" => "1",
00046 "Buffer" => "1",
00047 "Collapse" => "1",
00048 "Case" => "1",
00049 "Com" => "1",
00050 "DECLARATIONS" => "1",
00051 "Dc" => "1",
00052 "Declarations" => "1",
00053 "Device" => "1",
00054 "EQUATIONS" => "1",
00055 "End" => "1",
00056 "Equations" => "1",
00057 "Else" => "1",
00058 "Equations." => "1",
00059 "FUNCTIONAL_BLOCK" => "1",
00060 "FUSES" => "1",
00061 "Functional_block" => "1",
00062 "Fuses" => "1",
00063 "Goto" => "1",
00064 "INTERFACE" => "1",
00065 "If-Then-Else" => "1",
00066 "In" => "1",
00067 "Interface" => "1",
00068 "Istype" => "1",
00069 "If" => "1",
00070 "Invert" => "1",
00071 "Keep" => "1",
00072 "Library" => "1",
00073 "MACRO" => "1",
00074 "Macro" => "1",
00075 "Module" => "1",
00076 "Node" => "1",
00077 "Neg" => "1",
00078 "Output" => "1",
00079 "Pin" => "1",
00080 "Property" => "1",
00081 "PIN" => "1",
00082 "Pos" => "1",
00083 "Reg" => "1",
00084 "Reg_D" => "1",
00085 "Reg_G" => "1",
00086 "Reg_JK" => "1",
00087 "Reg_SR" => "1",
00088 "Reg_T" => "1",
00089 "Retain" => "1",
00090 "STATE_DIAGRAM" => "1",
00091 "STATE_REGISTER" => "1",
00092 "SYNC_RESET" => "1",
00093 "State" => "1",
00094 "State_Diagram" => "1",
00095 "State_register" => "1",
00096 "Sync_reset" => "1",
00097 "Signal" => "1",
00098 "TEST_VECTORS" => "1",
00099 "TITLE" => "1",
00100 "TRUTH_TABLE" => "1",
00101 "Test_Vectors" => "1",
00102 "Title" => "1",
00103 "Trace" => "1",
00104 "Truth_Table" => "1",
00105 "Test_vectors" => "1",
00106 "Then" => "1",
00107 "When-Then-Else" => "1",
00108 "With" => "1",
00109 "XOR" => "1",
00110 "XOR_FACTORS" => "1",
00111 "XOR_Factors" => "1",
00112 "Xor" => "1",
00113 "@Alternate" => "2",
00114 "@Carry" => "2",
00115 "@Const" => "2",
00116 "@Dcset" => "2",
00117 "@Dcstate" => "2",
00118 "@Exit" => "2",
00119 "@Expr" => "2",
00120 "@If" => "2",
00121 "@Ifb" => "2",
00122 "@Ifdef" => "2",
00123 "@Ifiden" => "2",
00124 "@Ifnb" => "2",
00125 "@Ifndef" => "2",
00126 "@Ifniden" => "2",
00127 "@Include" => "2",
00128 "@Irp" => "2",
00129 "@Irpc" => "2",
00130 "@Message" => "2",
00131 "@Onset" => "2",
00132 "@Page" => "2",
00133 "@Radix" => "2",
00134 "@Repeat" => "2",
00135 "@Setsize" => "2",
00136 "@Standard" => "2",
00137 ".ACLR" => "3",
00138 ".ASET" => "3",
00139 ".AP" => "3",
00140 ".AR" => "3",
00141 ".CE" => "3",
00142 ".CLK" => "3",
00143 ".CLR" => "3",
00144 ".SET" => "3",
00145 ".COM" => "3",
00146 ".D" => "3",
00147 ".FB" => "3",
00148 ".FC" => "3",
00149 ".J" => "3",
00150 ".K" => "3",
00151 ".LD" => "3",
00152 ".LE" => "3",
00153 ".LH" => "3",
00154 ".OE" => "3",
00155 ".PIN" => "3",
00156 ".PR" => "3",
00157 ".Q" => "3",
00158 ".R" => "3",
00159 ".RE" => "3",
00160 ".S" => "3",
00161 ".SP" => "3",
00162 ".SR" => "3");
00163
00164
00165
00166
00167
00168
00169
00170
00171 $this->linkscripts = array(
00172 "1" => "donothing",
00173 "2" => "donothing",
00174 "3" => "donothing");
00175 }
00176
00177
00178 function donothing($keywordin)
00179 {
00180 return $keywordin;
00181 }
00182
00183 }?>