]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - vim/vim/ftplugin/vhdl/vhdl.xpt.vim
vim: xptemplate: remove unnecessary license text from templates
[config/dotfiles.git] / vim / vim / ftplugin / vhdl / vhdl.xpt.vim
1 " vim: ft=xpt
2
3 " XPTemplate template file.
4 "
5 " Language:     VHDL
6 " Maintainer:   Simon Ruderich <simon@ruderich.org>
7 " License:      GPL v3+
8
9
10 XPTemplate priority=lang
11
12 let s:f = g:XPTfuncs()
13
14 XPTinclude
15       \ _common/common
16
17
18 XPT f
19 library ieee;
20 use ieee.std_logic_1164.all;
21 use ieee.numeric_std.all;
22
23 `cursor^
24
25
26 XPT slv
27 std_logic_vector(`from^ downto `to^)
28
29
30 XPT entity
31 entity `name^ is
32     port(
33         `cursor^
34     );
35 end entity;
36
37 XPT architecture
38 architecture `behavioral^ of `entity^ is
39 begin
40     `cursor^
41 end architecture;
42
43 XPT process
44 process`list^
45 begin
46     `cursor^
47 end process;
48
49 XPT if
50 if `condition^ then
51     `cursor^
52 end if;