PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

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

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