# -*- mode: snippet -*-
# name: always_ff
# key: -always
# --
   always_ff @(posedge clk, negedge reset) begin
      if (~reset) begin // reset everything
         $0
      end else begin // if (~reset)
         // logic here
         
      end
   end
