Mercurial > dotfiles.old
comparison vim/snippets/vhdl.snip @ 111:1f0d12295ba5
Add VHDL snippets
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 25 Aug 2014 11:43:33 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
110:2c5bc2d9a29f | 111:1f0d12295ba5 |
---|---|
1 snippet entity | |
2 abbr entity | |
3 options head | |
4 entity ${1:name} is | |
5 port( | |
6 ${2} | |
7 ); | |
8 end entity $1; | |
9 | |
10 snippet architecture | |
11 abbr architecture | |
12 options head | |
13 architecture ${1:arch} of ${2:name} is | |
14 ${4} | |
15 begin | |
16 ${4} | |
17 end architecture $1; | |
18 | |
19 snippet process | |
20 abbr process | |
21 options head | |
22 process(${1:args}) is | |
23 ${2} | |
24 end process; | |
25 | |
26 snippet case | |
27 abbr case | |
28 options head | |
29 case ${1:var} is | |
30 ${2} | |
31 end case; | |
32 | |
33 snippet when | |
34 abbr when | |
35 options head | |
36 when ${1:option} => | |
37 ${2} | |
38 | |
39 snippet if | |
40 abbr if | |
41 options head | |
42 if ${1:value} then | |
43 ${2} | |
44 end if; |