Email: bknpk@hotmail.com Phone: +972-54-7649119

 

ASIC/FPGA Design and Verification Out Source Services

VIM Highlight

The following explains how to "teach" VIM to color some key words. This was very important to me when going over large simulation log files. The example shows a log of simulation the LEON processor.

  1. syntax match pini_dbg /.*Pini.*/
    hi pini_dbg guibg=green guifg=blue
  2. syntax match pini_pci /.*PCI.*/
    hi pini_pci guibg=yellow guifg=#101099
  3. syntax match pini_tim /\d* .s/
    hi pini_tim guibg=white guifg=red
  4. syntax match pini_i2c /.*i2c.*/
    hi pini_i2c guibg=white guifg=orange



  5. You can add the following to automatically source your vim file
    au BufRead,BufNewFile dbg.log so ~/my_vim.vim

Contact me now at:

  ...


I would be happy to offer my services. Call ASAP !


Home

How to use highlight feature of vim for debug






Search This Site


Feedback This Site




new pages on this site