vhdl.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * vhdl.php
00004  * --------
00005  * Author: Alexander 'E-Razor' Krause (admin@erazor-zone.de)
00006  * Copyright: (c) 2005 Alexander Krause
00007  * Release Version: 1.0.7.20
00008  * Date Started: 2005/06/15
00009  * 
00010  * VHDL (VHSICADL, very high speed integrated circuit HDL) language file for GeSHi.
00011  *
00012  * CHANGES
00013  * -------
00014  * 2006/06/15 (1.0.0)
00015  *  -  First Release
00016  *
00017  * TODO
00018  * ----
00019  *
00020  *************************************************************************************
00021  *
00022  *     This file is part of GeSHi.
00023  *
00024  *   GeSHi is free software; you can redistribute it and/or modify
00025  *   it under the terms of the GNU General Public License as published by
00026  *   the Free Software Foundation; either version 2 of the License, or
00027  *   (at your option) any later version.
00028  *
00029  *   GeSHi is distributed in the hope that it will be useful,
00030  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00031  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00032  *   GNU General Public License for more details.
00033  *
00034  *   You should have received a copy of the GNU General Public License
00035  *   along with GeSHi; if not, write to the Free Software
00036  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00037  *
00038  ************************************************************************************/
00039  
00040 $language_data = array (
00041     'LANG_NAME' => 'VHDL',
00042     'COMMENT_SINGLE' => array(1 => '--'),
00043     'COMMENT_MULTI' => array(),
00044     'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00045     'QUOTEMARKS' => array('"'),
00046     'ESCAPE_CHAR' => '',
00047     'KEYWORDS' => array(
00048         /*keywords*/
00049         1 => array(
00050             'access','after','alias','all','assert','architecture','begin',
00051             'block','body','buffer','bus','case','component','configuration','constant',
00052             'disconnect','downto','else','elsif','end','entity','exit','file','for',
00053             'function','generate','generic','group','guarded','if','impure','in',
00054             'inertial','inout','is','label','library','linkage','literal','loop',
00055             'map','new','next','null','of','on','open','others','out','package',
00056             'port','postponed','procedure','process','pure','range','record','register',
00057             'reject','report','return','select','severity','signal','shared','subtype',
00058             'then','to','transport','type','unaffected','units','until','use','variable',
00059             'wait','when','while','with','note','warning','error','failure','and',
00060             'or','xor','not','nor'
00061         ),
00062         /*types*/
00063         2 => array(
00064             'bit','bit_vector','character','boolean','integer','real','time','string',
00065             'severity_level','positive','natural','signed','unsigned','line','text',
00066             'std_logic','std_logic_vector','std_ulogic','std_ulogic_vector','qsim_state',
00067             'qsim_state_vector','qsim_12state','qsim_12state_vector','qsim_strength',
00068             'mux_bit','mux_vector','reg_bit','reg_vector','wor_bit','wor_vector'
00069         ),
00070         /*operators*/
00071         3 => array(
00072                 '=','<=',':=','=>','=='
00073         )
00074     ),
00075     'SYMBOLS' => array(
00076         '[', ']', '(', ')',';','<','>',':'
00077     ),
00078     'CASE_SENSITIVE' => array(
00079         GESHI_COMMENTS => true,
00080         1 => false,
00081         2 => false
00082         ),
00083     'STYLES' => array(
00084         'KEYWORDS' => array(
00085             1 => 'color: #000000; font-weight: bold;',
00086             2 => 'color: #aa0000;'
00087             ),
00088         'COMMENTS' => array(
00089             1 => 'color: #adadad; font-style: italic;'
00090             ),
00091         'ESCAPE_CHAR' => array(
00092             0 => 'color: #000099; font-weight: bold;'
00093             ),
00094         'BRACKETS' => array(
00095             0 => 'color: #66cc66;'
00096             ),
00097         'STRINGS' => array(
00098             0 => 'color: #7f007f;'
00099             ),
00100         'NUMBERS' => array(
00101             0 => 'color: #ff0000;'
00102             ),
00103         'METHODS' => array(
00104             ),
00105         'SYMBOLS' => array(
00106             0 => 'color: #66cc66;'
00107             ),
00108         'REGEXPS' => array(
00109             0 => 'color: #ff0000;',
00110             1 => 'color: #ff0000;',
00111             2 => 'color: #ff0000;',
00112             3 => 'color: #ff0000;'
00113             ),
00114         'SCRIPT' => array(
00115             )
00116         ),
00117     'URLS' => array(
00118         1 => '',
00119         2 => ''
00120     ),
00121     'OOLANG' => false,
00122     'OBJECT_SPLITTERS' => array(
00123         ),
00124     'REGEXPS' => array(
00125         0 => '(\b(0x)[0-9a-fA-F]{2,}[hH]?|\b(0x)?[0-9a-fA-F]{2,}[hH])|'.
00126         '(\b[0-9]{1,}((\.){1}[0-9]{1,}){0,1}(E)[\-]{0,1}[0-9]{1,})|'.
00127          '(\b(ns))|'.
00128          "('[0-9a-zA-Z]+)",
00129          1 => "\b(''[0-9]'')"
00130         ),
00131     'STRICT_MODE_APPLIES' => GESHI_NEVER,
00132     'SCRIPT_DELIMITERS' => array(
00133         ),
00134     'HIGHLIGHT_STRICT_BLOCK' => array(
00135         )
00136 );
00137  
00138 ?>

Erzeugt am Thu May 14 00:55:48 2009 für OpenRat von  doxygen 1.5.8