Skip to content

New snippets for Verilog and some reorganization #1522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions UltiSnips/systemverilog.snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends verilog
16 changes: 16 additions & 0 deletions UltiSnips/verilog.snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
snippet in "Input"
input${1: [${2:n}:${3:0}]} ${0:name}
endsnippet

snippet out "Output"
output${1: reg}${2: [${3:n}:${4:0}]} ${0:name}
endsnippet

snippet reg "Register variable"
reg${1: [${2:n}:${3:0}]} ${4:name};
endsnippet

snippet wire "Wire variable"
wire${1: [${2:n}:${3:0}]} ${4:name};
endsnippet

1 change: 1 addition & 0 deletions UltiSnips/verilog_systemverilog.snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends systemverilog
Loading