Emacs : verilog-mode snippets fix.✡

This commit is contained in:
2022-06-13 12:01:46 +09:00
parent 58bf33bded
commit d727c170f5
5 changed files with 14 additions and 29 deletions

View File

@ -1,10 +1,7 @@
# -*- mode: snippet -*- # -*- mode: snippet -*-
# name: always (asynchronous rst) # name: always(async rst)
# uuid: # key:
# key: trigger-key
# condition: t
# -- # --
always@(posedge clk or posedge rst) always@(posedge clk or posedge rst)
if(rst) begin if(rst) begin
/*AUTORESET*/ /*AUTORESET*/

View File

@ -1,10 +1,7 @@
# -*- mode: snippet -*- # -*- mode: snippet -*-
# name: always (asynchronous rstn) # name: always(async rstn)
# uuid: # key:
# key: trigger-key
# condition: t
# -- # --
always@(posedge clk or negedge rstn) always@(posedge clk or negedge rstn)
if(!rstn) begin if(!rstn) begin
/*AUTORESET*/ /*AUTORESET*/

View File

@ -1,10 +1,7 @@
# -*- mode: snippet -*- # -*- mode: snippet -*-
# name: always (synchronous rst) # name: always(sync rst)
# uuid: # key:
# key: trigger-key
# condition: t
# -- # --
always@(posedge clk) always@(posedge clk)
if(rst) begin if(rst) begin
/*AUTORESET*/ /*AUTORESET*/

View File

@ -1,10 +1,7 @@
# -*- mode: snippet -*- # -*- mode: snippet -*-
# name: always (synchronous rstn) # name: always(sync rstn)
# uuid: # key:
# key: trigger-key
# condition: t
# -- # --
always@(posedge clk) always@(posedge clk)
if(!rstn) begin if(!rstn) begin
/*AUTORESET*/ /*AUTORESET*/

5
.doom.d/snippets/verilog-mode/module(base) Normal file → Executable file
View File

@ -1,10 +1,7 @@
# -*- mode: snippet -*- # -*- mode: snippet -*-
# name: module(base) # name: module(base)
# uuid: # key:
# key: trigger-key
# condition: t
# -- # --
module example module example
#( #(
parameter DIN_LEN = 8 parameter DIN_LEN = 8