PageRenderTime 27ms CodeModel.GetById 20ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-2-pre4/modes/vhdl.xml

#
XML | 193 lines | 189 code | 3 blank | 1 comment | 0 complexity | bdc39f3832cd75e87e70626e0ee6140a MD5 | raw file
  1<?xml version="1.0"?>
  2
  3<!-- VHDL mode, contributed by Dante Fabrizio and Nitsan Vardi -->
  4
  5<!DOCTYPE MODE SYSTEM "xmode.dtd">
  6
  7<MODE>
  8	<PROPS>
  9		<PROPERTY NAME="label" VALUE="VHDL" />
 10		<PROPERTY NAME="lineComment" VALUE="--" />
 11	</PROPS>
 12	<RULES ESCAPE="\" IGNORE_CASE="TRUE">
 13		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 14			<BEGIN>"</BEGIN>
 15			<END>"</END>
 16		</SPAN>
 17
 18		<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
 19			<BEGIN>'</BEGIN>
 20			<END>'</END>
 21		</SPAN>
 22
 23		<EOL_SPAN TYPE="COMMENT1">--</EOL_SPAN>
 24		<SEQ TYPE="OPERATOR">=</SEQ>
 25		<SEQ TYPE="OPERATOR">/=</SEQ>
 26		<SEQ TYPE="OPERATOR">!</SEQ>
 27		<SEQ TYPE="OPERATOR">:</SEQ>
 28		<SEQ TYPE="OPERATOR">&gt;=</SEQ>
 29		<SEQ TYPE="OPERATOR">&gt;</SEQ>
 30		<SEQ TYPE="OPERATOR">&lt;=</SEQ>
 31		<SEQ TYPE="OPERATOR">&lt;</SEQ>
 32		<SEQ TYPE="OPERATOR">+</SEQ>
 33		<SEQ TYPE="OPERATOR">-</SEQ>
 34		<SEQ TYPE="OPERATOR">/</SEQ>
 35		<SEQ TYPE="OPERATOR">*</SEQ>
 36
 37		<SEQ TYPE="OPERATOR">**</SEQ>
 38		<SEQ TYPE="OPERATOR">%</SEQ>
 39		<SEQ TYPE="OPERATOR">&amp;</SEQ>
 40		<SEQ TYPE="OPERATOR">|</SEQ>
 41		<SEQ TYPE="OPERATOR">^</SEQ>
 42		<SEQ TYPE="OPERATOR">~</SEQ>
 43		<MARK_PREVIOUS TYPE="LABEL" EXCLUDE_MATCH="TRUE"
 44			AT_LINE_START="FALSE">: </MARK_PREVIOUS>
 45
 46		<KEYWORDS>
 47			<KEYWORD1>architecture</KEYWORD1>
 48			<KEYWORD1>alias</KEYWORD1>
 49 			<KEYWORD1>assert</KEYWORD1>
 50			<KEYWORD1>entity</KEYWORD1>
 51			<KEYWORD1>process</KEYWORD1>
 52			<KEYWORD1>variable</KEYWORD1>
 53			<KEYWORD1>signal</KEYWORD1>
 54			<KEYWORD1>function</KEYWORD1>
 55			<KEYWORD1>generic</KEYWORD1>
 56			<KEYWORD1>in</KEYWORD1>
 57			<KEYWORD1>out</KEYWORD1>
 58			<KEYWORD1>inout</KEYWORD1>
 59			<KEYWORD1>begin</KEYWORD1>
 60			<KEYWORD1>end</KEYWORD1>
 61			<KEYWORD1>component</KEYWORD1>
 62			<KEYWORD1>use</KEYWORD1>
 63			<KEYWORD1>library</KEYWORD1>
 64			<KEYWORD1>loop</KEYWORD1>
 65			<KEYWORD1>constant</KEYWORD1>
 66			<KEYWORD1>break</KEYWORD1>
 67			<KEYWORD1>case</KEYWORD1>
 68			<KEYWORD1>port</KEYWORD1>
 69			<KEYWORD1>is</KEYWORD1>
 70			<KEYWORD1>to</KEYWORD1>
 71			<KEYWORD1>of</KEYWORD1>
 72			<KEYWORD1>array</KEYWORD1>
 73			<KEYWORD1>catch</KEYWORD1>
 74			<KEYWORD1>continue</KEYWORD1>
 75			<KEYWORD1>default</KEYWORD1>
 76			<KEYWORD1>do</KEYWORD1>
 77			<KEYWORD1>else</KEYWORD1>
 78			<KEYWORD1>elsif</KEYWORD1>
 79			<KEYWORD1>when</KEYWORD1>
 80			<KEYWORD1>then</KEYWORD1>
 81			<KEYWORD1>downto</KEYWORD1>
 82			<KEYWORD1>upto</KEYWORD1>
 83			<KEYWORD1>extends</KEYWORD1>
 84			<KEYWORD1>for</KEYWORD1>
 85			<KEYWORD1>if</KEYWORD1>
 86			<KEYWORD1>implements</KEYWORD1>
 87			<KEYWORD1>instanceof</KEYWORD1>
 88			<KEYWORD1>return</KEYWORD1>
 89			<KEYWORD1>static</KEYWORD1>
 90			<KEYWORD1>switch</KEYWORD1>
 91			<KEYWORD1>type</KEYWORD1>
 92			<KEYWORD1>while</KEYWORD1>
 93			<KEYWORD1>others</KEYWORD1>
 94			<KEYWORD1>all</KEYWORD1>
 95			<KEYWORD1>record</KEYWORD1>
 96 			<KEYWORD1>range</KEYWORD1>
 97 			<KEYWORD1>wait</KEYWORD1>
 98
 99			<KEYWORD2>package</KEYWORD2>
100			<KEYWORD2>import</KEYWORD2>
101			<KEYWORD2>std_logic</KEYWORD2>
102			<KEYWORD2>std_ulogic</KEYWORD2>
103			<KEYWORD2>std_logic_vector</KEYWORD2>
104			<KEYWORD2>std_ulogic_vector</KEYWORD2>
105			<KEYWORD2>integer</KEYWORD2>
106			<KEYWORD2>natural</KEYWORD2>
107			<KEYWORD2>bit</KEYWORD2>
108			<KEYWORD2>bit_vector</KEYWORD2>
109			
110
111			<OPERATOR>or</OPERATOR>
112			<OPERATOR>nor</OPERATOR>
113			<OPERATOR>not</OPERATOR>
114			<OPERATOR>nand</OPERATOR>
115			<OPERATOR>and</OPERATOR>
116			<OPERATOR>xnor</OPERATOR>
117			<OPERATOR>sll</OPERATOR>
118			<OPERATOR>srl</OPERATOR>
119			<OPERATOR>sla</OPERATOR>
120			<OPERATOR>sra</OPERATOR>
121			<OPERATOR>rol</OPERATOR>
122			<OPERATOR>ror</OPERATOR>
123			<OPERATOR>or</OPERATOR>
124			<OPERATOR>or</OPERATOR>
125			<OPERATOR>mod</OPERATOR>
126			<OPERATOR>rem</OPERATOR>
127			<OPERATOR>abs</OPERATOR>
128      
129			<KEYWORD3>EVENT</KEYWORD3>
130			<KEYWORD3>BASE</KEYWORD3>
131			<KEYWORD3>LEFT</KEYWORD3>
132			<KEYWORD3>RIGHT</KEYWORD3>
133			<KEYWORD3>LOW</KEYWORD3>
134			<KEYWORD3>HIGH</KEYWORD3>
135			<KEYWORD3>ASCENDING</KEYWORD3>
136			<KEYWORD3>IMAGE</KEYWORD3>
137			<KEYWORD3>VALUE</KEYWORD3>
138			<KEYWORD3>POS</KEYWORD3>
139			<KEYWORD3>VAL</KEYWORD3>
140			<KEYWORD3>SUCC</KEYWORD3>
141			<KEYWORD3>VAL</KEYWORD3>
142			<KEYWORD3>POS</KEYWORD3>
143			<KEYWORD3>PRED</KEYWORD3>
144			<KEYWORD3>VAL</KEYWORD3>
145			<KEYWORD3>POS</KEYWORD3>
146			<KEYWORD3>LEFTOF</KEYWORD3>
147			<KEYWORD3>RIGHTOF</KEYWORD3>
148			<KEYWORD3>LEFT</KEYWORD3>
149			<KEYWORD3>RIGHT</KEYWORD3>
150			<KEYWORD3>LOW</KEYWORD3>
151			<KEYWORD3>HIGH</KEYWORD3>
152			<KEYWORD3>RANGE</KEYWORD3>
153			<KEYWORD3>REVERSE</KEYWORD3>
154			<KEYWORD3>LENGTH</KEYWORD3>
155			<KEYWORD3>ASCENDING</KEYWORD3>
156			<KEYWORD3>DELAYED</KEYWORD3>
157			<KEYWORD3>STABLE</KEYWORD3>
158			<KEYWORD3>QUIET</KEYWORD3>
159			<KEYWORD3>TRANSACTION</KEYWORD3>
160			<KEYWORD3>EVENT</KEYWORD3>
161			<KEYWORD3>ACTIVE</KEYWORD3>
162			<KEYWORD3>LAST</KEYWORD3>
163			<KEYWORD3>LAST</KEYWORD3>
164			<KEYWORD3>LAST</KEYWORD3>
165			<KEYWORD3>DRIVING</KEYWORD3>
166			<KEYWORD3>DRIVING</KEYWORD3>
167			<KEYWORD3>SIMPLE</KEYWORD3>
168			<KEYWORD3>INSTANCE</KEYWORD3>
169			<KEYWORD3>PATH</KEYWORD3>
170      
171			<FUNCTION>rising_edge</FUNCTION>
172			<FUNCTION>shift_left</FUNCTION>
173			<FUNCTION>shift_right</FUNCTION>
174			<FUNCTION>rotate_left</FUNCTION>
175			<FUNCTION>rotate_right</FUNCTION>
176			<FUNCTION>resize</FUNCTION>
177			<FUNCTION>std_match</FUNCTION>
178			<FUNCTION>to_integer</FUNCTION>
179			<FUNCTION>to_unsigned</FUNCTION>
180			<FUNCTION>to_signed</FUNCTION>
181			<FUNCTION>unsigned</FUNCTION>
182			<FUNCTION>signed</FUNCTION>
183			<FUNCTION>to_bit</FUNCTION>
184			<FUNCTION>to_bitvector</FUNCTION>
185			<FUNCTION>to_stdulogic</FUNCTION>
186			<FUNCTION>to_stdlogicvector</FUNCTION>
187			<FUNCTION>to_stdulogicvector</FUNCTION>
188			
189			<LITERAL2>false</LITERAL2>
190			<LITERAL2>true</LITERAL2>
191		</KEYWORDS>
192	</RULES>
193</MODE>