VHDL Snippets
This commit is contained in:
parent
41f38f343b
commit
19c7c55d84
1 changed files with 35 additions and 0 deletions
35
vim/.vim/snippets/vhdl.snippets
Normal file
35
vim/.vim/snippets/vhdl.snippets
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
snippet entity
|
||||||
|
entity ${1} is
|
||||||
|
${2}
|
||||||
|
end entity ${1};
|
||||||
|
|
||||||
|
snippet architecture
|
||||||
|
architecture ${1}_impl of ${1} is
|
||||||
|
${2}
|
||||||
|
begin
|
||||||
|
${3}
|
||||||
|
end architecture ${1};
|
||||||
|
|
||||||
|
snippet case
|
||||||
|
case ${1} is
|
||||||
|
${2}
|
||||||
|
end case;
|
||||||
|
|
||||||
|
snippet if
|
||||||
|
if ${1} then
|
||||||
|
${2}
|
||||||
|
end if;
|
||||||
|
|
||||||
|
snippet elif
|
||||||
|
else if ${1}
|
||||||
|
${2}
|
||||||
|
|
||||||
|
snippet else
|
||||||
|
else
|
||||||
|
${1}
|
||||||
|
|
||||||
|
snippet lib
|
||||||
|
library ${1};
|
||||||
|
|
||||||
|
snippet use
|
||||||
|
use ${1}.all;
|
Loading…
Reference in a new issue