2 /*************************************************************************************
5 * Author: Alexander 'E-Razor' Krause (admin@erazor-zone.de)
6 * Copyright: (c) 2005 Alexander Krause
7 * Release Version: 1.0.7.19
8 * Date Started: 2005/06/15
10 * VHDL (VHSICADL, very high speed integrated circuit HDL) language file for GeSHi.
20 *************************************************************************************
22 * This file is part of GeSHi.
24 * GeSHi is free software; you can redistribute it and/or modify
25 * it under the terms of the GNU General Public License as published by
26 * the Free Software Foundation; either version 2 of the License, or
27 * (at your option) any later version.
29 * GeSHi is distributed in the hope that it will be useful,
30 * but WITHOUT ANY WARRANTY; without even the implied warranty of
31 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 * GNU General Public License for more details.
34 * You should have received a copy of the GNU General Public License
35 * along with GeSHi; if not, write to the Free Software
36 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
38 ************************************************************************************/
40 $language_data = array (
41 'LANG_NAME' => 'VHDL',
42 'COMMENT_SINGLE' => array(1 => '--'),
43 'COMMENT_MULTI' => array(),
44 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE
,
45 'QUOTEMARKS' => array('"'),
50 'access','after','alias','all','assert','architecture','begin',
51 'block','body','buffer','bus','case','component','configuration','constant',
52 'disconnect','downto','else','elsif','end','entity','exit','file','for',
53 'function','generate','generic','group','guarded','if','impure','in',
54 'inertial','inout','is','label','library','linkage','literal','loop',
55 'map','new','next','null','of','on','open','others','out','package',
56 'port','postponed','procedure','process','pure','range','record','register',
57 'reject','report','return','select','severity','signal','shared','subtype',
58 'then','to','transport','type','unaffected','units','until','use','variable',
59 'wait','when','while','with','note','warning','error','failure','and',
60 'or','xor','not','nor'
64 'bit','bit_vector','character','boolean','integer','real','time','string',
65 'severity_level','positive','natural','signed','unsigned','line','text',
66 'std_logic','std_logic_vector','std_ulogic','std_ulogic_vector','qsim_state',
67 'qsim_state_vector','qsim_12state','qsim_12state_vector','qsim_strength',
68 'mux_bit','mux_vector','reg_bit','reg_vector','wor_bit','wor_vector'
72 '=','<=',':=','=>','=='
76 '[', ']', '(', ')',';','<','>',':'
78 'CASE_SENSITIVE' => array(
79 GESHI_COMMENTS
=> true
,
85 1 => 'color: #000000; font-weight: bold;',
86 2 => 'color: #aa0000;'
89 1 => 'color: #adadad; font-style: italic;'
91 'ESCAPE_CHAR' => array(
92 0 => 'color: #000099; font-weight: bold;'
95 0 => 'color: #66cc66;'
98 0 => 'color: #7f007f;'
101 0 => 'color: #ff0000;'
106 0 => 'color: #66cc66;'
109 0 => 'color: #ff0000;',
110 1 => 'color: #ff0000;',
111 2 => 'color: #ff0000;',
112 3 => 'color: #ff0000;'
122 'OBJECT_SPLITTERS' => array(
125 0 => '(\b(0x)[0-9a-fA-F]{2,}[hH]?|\b(0x)?[0-9a-fA-F]{2,}[hH])|'.
126 '(\b[0-9]{1,}((\.){1}[0-9]{1,}){0,1}(E)[\-]{0,1}[0-9]{1,})|'.
131 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
132 'SCRIPT_DELIMITERS' => array(
134 'HIGHLIGHT_STRICT_BLOCK' => array(