# -*- mode: snippet -*-
# key: pgm
# --

program automatic ${1:`(if (buffer-file-name) (file-name-nondirectory (file-name-sans-extension (buffer-file-name))) "name")`};

   // declarations
   $0

   // Could have only initial blocks
   initial begin

   end

endprogram: $1
