Tuesday, April 2, 2013

Configuration of .gvimrc for UVM highlighter

As we have discussed in previous post how we can create simple groups for highlighting purpose. I have created highlighter for UVM(Universal Verification Methodology).
If you want to learn how to code highlighter you can see it in following links.

                               Configuration of magic box .gvimrc

                               configuring color property for highlight group

                               define complex group for highlighting

I have configured some variables for highlighting purpose while using uvm methodology for verification. Simply copy this code in your .gvimrc/.vimrc file and it is done.


                    syntax keyword uvm_keyword uvm_object
                    syntax keyword uvm_keyword uvm_agent
                    syntax keyword uvm_keyword uvm_transaction
                    syntax keyword uvm_keyword uvm_sequence_item
                    syntax keyword uvm_keyword uvm_sequence
                    syntax keyword uvm_keyword uvm_sequencer
                    syntax keyword uvm_keyword uvm_report_object
                    syntax keyword uvm_keyword uvm_component
                    syntax keyword uvm_keyword uvm_monitor
                    syntax keyword uvm_keyword uvm_scoreboard
                    syntax keyword uvm_keyword uvm_driver
                    syntax keyword uvm_keyword uvm_test
                    syntax keyword uvm_keyword uvm_env
                    syntax keyword uvm_keyword uvm_subscriber
                    syntax keyword uvm_keyword uvm_config
                    syntax keyword uvm_keyword uvm_config_db
                    syntax keyword uvm_keyword uvm_analysis_port
                    syntax keyword uvm_keyword uvm_tlm_extension
                    syntax keyword uvm_keyword uvm_tlm_if
                    syntax keyword uvm_keyword uvm_field_int
                    syntax keyword uvm_keyword uvm_config_db
                 
                    syntax keyword uvm_function seq_item_port
                    syntax keyword uvm_function get_next_item
                    syntax keyword uvm_function try_next_item
                    syntax keyword uvm_function build_phase
                    syntax keyword uvm_function connect_phase
                    syntax keyword uvm_function run_phase
                    syntax keyword uvm_function uvm_phase
                    syntax keyword uvm_function raise_objection
                    syntax keyword uvm_function drop_objection
                    syntax keyword uvm_function run_test
                 
                    hi uvm_keyword term=bold  gui=bold guifg=red
                    hi uvm_function term=none  gui=none guifg=green


PREV PAGE                                           INDEX                                                     Next

No comments:

Post a Comment