Mercurial > dotfiles.old
changeset 111:1f0d12295ba5
Add VHDL snippets
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 25 Aug 2014 11:43:33 +0200 |
parents | 2c5bc2d9a29f |
children | 9eeaecd192f5 |
files | vim/snippets/vhdl.snip |
diffstat | 1 files changed, 44 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/snippets/vhdl.snip Mon Aug 25 11:43:33 2014 +0200 @@ -0,0 +1,44 @@ +snippet entity +abbr entity +options head + entity ${1:name} is + port( + ${2} + ); + end entity $1; + +snippet architecture +abbr architecture +options head + architecture ${1:arch} of ${2:name} is + ${4} + begin + ${4} + end architecture $1; + +snippet process +abbr process +options head + process(${1:args}) is + ${2} + end process; + +snippet case +abbr case +options head + case ${1:var} is + ${2} + end case; + +snippet when +abbr when +options head + when ${1:option} => + ${2} + +snippet if +abbr if +options head + if ${1:value} then + ${2} + end if;