PageRenderTime 294ms CodeModel.GetById 288ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-0-pre3/modes/vhdl.xml

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