"============================================================================= " Macros for editing vhdl code. " Author : M A Aziz Ahmed (aziz@123india.com) " Last update : Tue Apr 20 1999 " Contents : " Settings " General shortcut keys " Columnizing macros " To make your VHDL code look better. " Timing diagram macros " Draw timing diagrams in your comments to make your code more readable. " Macros to convert all keywords to small or to caps. " Tested with : " GVim-5.3 under Windows 95. "============================================================================= "============================================================================= " Settings for editing VHDL files. "============================================================================= set nocindent set autoindent set smartindent set cinwords=if,else,elsif,case,while,for,begin,when "============================================================================= " General shortcut keys. " BTW, the keywords are all lower case! Modify it according to your needs or " use my macros to convert all keywords to caps or small. "============================================================================= iab st std_logic ; iab sv std_logic_vector ( downto 0) ;11hi iab sti in std_logic ; iab sto out std_logic ; iab sio inout std_logic ; iab siv in std_logic_vector ( downto 0) ;11hi iab sov out std_logic_vector ( downto 0) ;11hi iab siov inout std_logic_vector ( downto 0) ;11hi iab sg signal iab dt downto iab vr variable iab ot (others => '0') ; iab cc ----------------------------------------------------------------------------- iab vpr