! Syntax Highlighting Patterns for OpenVera ! rev 1.0 ! for Synopsys VERA 5.0 ! ! Created By: Paul Graykowski ! email: paulgray@synopsys.com ! ! Warranty: None -- please email paulgray@synopsys.com for comments/suggestions ! ! INSTALLATION ! ! In NEdit Version 5.0.1 and beyond, load this pattern by starting nedit with: ! ! nedit -import OpenVera.pat ! ! Then, check that the patterns were loaded correctly, and choose Save Defaults ! from the Preferences menu. The new patterns will now be incorporated into ! your own .nedit file, so the next time you start NEdit, you will no longer ! need to use -import. ! ! In version 5.0, without -import, you must edit your .nedit file by hand and ! add the contents of each resource below to the corresponding list in your ! .nedit file. Be sure to separate new entries with \n, and continue resource ! strings by escaping all newlines within a resource value with \ (backslash), ! leaving only the last line of the resource value not ending in \. nedit.highlightPatterns: \ OpenVera:1:0{\n\ comment:"/\\*":"\\*/"::OpenVeraComment::\n\ cplus comment:"//":"$"::OpenVeraComment::\n\ preprocessor:"<(#endif|#include|#define|#ifndef)>":::OpenVeraKeyword::\n\ char constant:"'":"'":"[^\\\\][^']":OpenVeraCharacterConst::\n\ string:"""":"""":"\\n":OpenVeraString::\n\ numeric constant:"[1-9]?[0-9]*['][h|H|o|O|d|D|b|B][0-9a-fA-F_]*":::OpenVeraString::\n\ keyword:"<(all|any|assoc_index|assoc_size|async|bad_state|bad_trans|begin|big_endian|bind|bind_var|bit|bit_normal|bit_reverse|break|breakpoint|case|casex|casez|class|CLOCK|constraint|continue|coverage|coverage_block|coverage_def|coverage_depth|coverage_goal|coverage_option|coverage_val|default|depth|dist|else|end|enum|event|export|extends|extern|for|fork|function|hdl_node|hdl_task|if|illegal_self_transition|illegal_state|illegal_transition|in|inout|input|integer|interface|join|little_endian|local|m_bad_state|m_bad_trans|m_state|m_trans|negedge|new|newcov|non_rand|none|not|null|or|output|packed|port|posedge|prod|prodget|prodset|protected|public|rand|randc|randcase|randseq|reg|repeat|return|output|shadow|soft|state|static|string|super|task|terminate|this|trans|typedef|unpacked|var|vca|vector|verilog_node|verilog_task|vhdl_node|vhdl_task|virtual|void|while|wildcard|with)>":::OpenVeraKeyword::\n\ predefined sub:"<(alloc|assoc_index|cast_assign|coverage|delay|error|error_mode|exit|fclose|feof|fflush|]flag|fopen|fprintf|freadb|freadh|freadstr|get_cycle|get_memsize|get_plus_arg|get_systime|get_time|lock_file|mailbox_get|mailbox_put|os_command|printf|prodget|prodset|psprintf|query|query_str|query_x|rand48|random|region_enter|region_exit|rewind|semaphore_get|semaphore_put|signal_connect|sprintf|sscanf|stop|suspend_thread|sync|timeout|trace|trigger|unlock_file|unit_delay|urand48|urandom|vca|vera_plot|vsv_call_func|vsv_call_task|vsv_close_conn|vsv_get_conn_err|vsv_make_client|vsv_make_server|vsv_up_connections|vsv_wait_for_done|vsv_wait_for_input|wait_child|wait_var)>":::OpenVeraPreSub::\n\ predefined constant:"<(stderr|stdin|stdout|ALL|ANY|BAD_STATE|BAD_TRANS|CALL|CHECK|CHGEDGE|CLEAR|COPY_NO_WAIT|CROSS|CROSS_TRANS|DEBUG|DELETE|EC_ARRAYX|EC_CODE_END|EC_CONFLICT|EC_EXPECT|EC_RETURN|EC_RGNTMOUT|EC_SCONFLICT|EC_SEMTMOUT|EC_SEXPECT|EC_SFULLEXPECT|EC_SNEXTPECT|EC_EVNTIMOUT|EC_USERSET|EC_FULLEXPECT|EC_MBXTMOUT|EC_NEXPECT|EQ|EVENT|FAIL|FIRST|FORK|GE|GOAL|GT|HAND_SHAKE|HI|HIGH|HNUM|LE|LIC_EXIT|LIC_PRERR|LIC_PRWAR|LIC_WAIT|LO|LOAD|LOW|LT|MAILBOX|MAX_COM|NAME|NEGEDGE_NE|NE|NEXT|NO_OVERLAP|NO_OVERLAP_STATE|NO_OVERLAP_TRANS|NO_VARS|NO_WAIT|NUM|NUM_BIN|NUM_DET|OFF|OK|OK_LAST|ON|ONE_BLAST|ONE_SHOT|ORDER|PAST_IT|PERCENT|POSEDGE|PROGRAM|RAWIN|REGION|REPORT|SAMPLE|SAVE|SEMAPHORE|SET|SILENT|STATE|STR|STR_ERR_OUT_OF_RANGE|STR_ERR_REGEXP_SYNTAX|SUM|TRANS|VERBOSE|WAIT)>":::OpenVeraConstant::\n\ deprecated:"<(call_func|call_task|close_conn|get_bind|get_bind_id|get_conn_en|mailbox_receive|mailbox_send|make_client|simwave_plot|up_connections)>":::OpenVeraDeprecated::\n\ braces:"[{}]":::OpenVeraKeyword::\n\ signalTypes:"<(ASYNC|NHOLD|NRX|NRZ|NR0|NR1|NSAMPLE|PHOLD|PRX|PRZ|PR0|PR1|PSAMPLE)>":::OpenVeraSignalTypes::\n\ vcaTypes:"<(gnr|grz|grz|gr0|gr1|nr|rx|rz|r0|r1|snr|srx|srz|sr0|sr1)>":::OpenVeraVCATypes::\n\ predefinedMethods:"<(boundary|constraint_mode|pack|post_boundary|post_pack|post_randomize|post_unpack|pre_boundary|pre_pack|pre_randomize|pre_unpack|rand_mode|randomize|unpack)>":::OpenVeraMethods::\n\ } nedit.languageModes: \ OpenVera:.vr .vrh .vri:::::: nedit.styles: \ OpenVeraComment:darkgreen:Italic\n\ OpenVeraPreSub:blue:Bold\n\ OpenVeraKeyword:blue:Bold\n\ OpenVeraString:darkGreen:Plain\n\ OpenVeraConstant:darkGreen:Bold\n\ OpenVeraDeprecated:red:Bold\n\ OpenVeraSignalTypes:blue:Bold\n\ OpenVeraVCATypes:blue:Bold\n\ OpenVeraMethods:blue:Bold\n\ OpenVeraCharacterConst:darkGreen:Plain\n\