2899
2878
(when (memq 'vhdl vhdl-electric-keywords)
2900
2879
;; VHDL'93 keywords
2902
("--" "" vhdl-template-display-comment-hook 0)
2903
("abs" "" vhdl-template-default-hook 0)
2904
("access" "" vhdl-template-default-hook 0)
2905
("after" "" vhdl-template-default-hook 0)
2906
("alias" "" vhdl-template-alias-hook 0)
2907
("all" "" vhdl-template-default-hook 0)
2908
("and" "" vhdl-template-default-hook 0)
2909
("arch" "" vhdl-template-architecture-hook 0)
2910
("architecture" "" vhdl-template-architecture-hook 0)
2911
("array" "" vhdl-template-default-hook 0)
2912
("assert" "" vhdl-template-assert-hook 0)
2913
("attr" "" vhdl-template-attribute-hook 0)
2914
("attribute" "" vhdl-template-attribute-hook 0)
2915
("begin" "" vhdl-template-default-indent-hook 0)
2916
("block" "" vhdl-template-block-hook 0)
2917
("body" "" vhdl-template-default-hook 0)
2918
("buffer" "" vhdl-template-default-hook 0)
2919
("bus" "" vhdl-template-default-hook 0)
2920
("case" "" vhdl-template-case-hook 0)
2921
("comp" "" vhdl-template-component-hook 0)
2922
("component" "" vhdl-template-component-hook 0)
2923
("cond" "" vhdl-template-conditional-signal-asst-hook 0)
2924
("conditional" "" vhdl-template-conditional-signal-asst-hook 0)
2925
("conf" "" vhdl-template-configuration-hook 0)
2926
("configuration" "" vhdl-template-configuration-hook 0)
2927
("cons" "" vhdl-template-constant-hook 0)
2928
("constant" "" vhdl-template-constant-hook 0)
2929
("disconnect" "" vhdl-template-disconnect-hook 0)
2930
("downto" "" vhdl-template-default-hook 0)
2931
("else" "" vhdl-template-else-hook 0)
2932
("elseif" "" vhdl-template-elsif-hook 0)
2933
("elsif" "" vhdl-template-elsif-hook 0)
2934
("end" "" vhdl-template-default-indent-hook 0)
2935
("entity" "" vhdl-template-entity-hook 0)
2936
("exit" "" vhdl-template-exit-hook 0)
2937
("file" "" vhdl-template-file-hook 0)
2938
("for" "" vhdl-template-for-hook 0)
2939
("func" "" vhdl-template-function-hook 0)
2940
("function" "" vhdl-template-function-hook 0)
2941
("generic" "" vhdl-template-generic-hook 0)
2942
("group" "" vhdl-template-group-hook 0)
2943
("guarded" "" vhdl-template-default-hook 0)
2944
("if" "" vhdl-template-if-hook 0)
2945
("impure" "" vhdl-template-default-hook 0)
2946
("in" "" vhdl-template-default-hook 0)
2947
("inertial" "" vhdl-template-default-hook 0)
2948
("inout" "" vhdl-template-default-hook 0)
2949
("inst" "" vhdl-template-instance-hook 0)
2950
("instance" "" vhdl-template-instance-hook 0)
2951
("is" "" vhdl-template-default-hook 0)
2952
("label" "" vhdl-template-default-hook 0)
2953
("library" "" vhdl-template-library-hook 0)
2954
("linkage" "" vhdl-template-default-hook 0)
2955
("literal" "" vhdl-template-default-hook 0)
2956
("loop" "" vhdl-template-bare-loop-hook 0)
2957
("map" "" vhdl-template-map-hook 0)
2958
("mod" "" vhdl-template-default-hook 0)
2959
("nand" "" vhdl-template-default-hook 0)
2960
("new" "" vhdl-template-default-hook 0)
2961
("next" "" vhdl-template-next-hook 0)
2962
("nor" "" vhdl-template-default-hook 0)
2963
("not" "" vhdl-template-default-hook 0)
2964
("null" "" vhdl-template-default-hook 0)
2965
("of" "" vhdl-template-default-hook 0)
2966
("on" "" vhdl-template-default-hook 0)
2967
("open" "" vhdl-template-default-hook 0)
2968
("or" "" vhdl-template-default-hook 0)
2969
("others" "" vhdl-template-others-hook 0)
2970
("out" "" vhdl-template-default-hook 0)
2971
("pack" "" vhdl-template-package-hook 0)
2972
("package" "" vhdl-template-package-hook 0)
2973
("port" "" vhdl-template-port-hook 0)
2974
("postponed" "" vhdl-template-default-hook 0)
2975
("procedure" "" vhdl-template-procedure-hook 0)
2976
("process" "" vhdl-template-process-hook 0)
2977
("pure" "" vhdl-template-default-hook 0)
2978
("range" "" vhdl-template-default-hook 0)
2979
("record" "" vhdl-template-default-hook 0)
2980
("register" "" vhdl-template-default-hook 0)
2981
("reject" "" vhdl-template-default-hook 0)
2982
("rem" "" vhdl-template-default-hook 0)
2983
("report" "" vhdl-template-report-hook 0)
2984
("return" "" vhdl-template-return-hook 0)
2985
("rol" "" vhdl-template-default-hook 0)
2986
("ror" "" vhdl-template-default-hook 0)
2987
("select" "" vhdl-template-selected-signal-asst-hook 0)
2988
("severity" "" vhdl-template-default-hook 0)
2989
("shared" "" vhdl-template-default-hook 0)
2990
("sig" "" vhdl-template-signal-hook 0)
2991
("signal" "" vhdl-template-signal-hook 0)
2992
("sla" "" vhdl-template-default-hook 0)
2993
("sll" "" vhdl-template-default-hook 0)
2994
("sra" "" vhdl-template-default-hook 0)
2995
("srl" "" vhdl-template-default-hook 0)
2996
("subtype" "" vhdl-template-subtype-hook 0)
2997
("then" "" vhdl-template-default-hook 0)
2998
("to" "" vhdl-template-default-hook 0)
2999
("transport" "" vhdl-template-default-hook 0)
3000
("type" "" vhdl-template-type-hook 0)
3001
("unaffected" "" vhdl-template-default-hook 0)
3002
("units" "" vhdl-template-default-hook 0)
3003
("until" "" vhdl-template-default-hook 0)
3004
("use" "" vhdl-template-use-hook 0)
3005
("var" "" vhdl-template-variable-hook 0)
3006
("variable" "" vhdl-template-variable-hook 0)
3007
("wait" "" vhdl-template-wait-hook 0)
3008
("when" "" vhdl-template-when-hook 0)
3009
("while" "" vhdl-template-while-loop-hook 0)
3010
("with" "" vhdl-template-with-hook 0)
3011
("xnor" "" vhdl-template-default-hook 0)
3012
("xor" "" vhdl-template-default-hook 0)
2880
(mapcar (lambda (x) (list (car x) "" (cdr x) 0 'system))
2882
("--" . vhdl-template-display-comment-hook)
2883
("abs" . vhdl-template-default-hook)
2884
("access" . vhdl-template-default-hook)
2885
("after" . vhdl-template-default-hook)
2886
("alias" . vhdl-template-alias-hook)
2887
("all" . vhdl-template-default-hook)
2888
("and" . vhdl-template-default-hook)
2889
("arch" . vhdl-template-architecture-hook)
2890
("architecture" . vhdl-template-architecture-hook)
2891
("array" . vhdl-template-default-hook)
2892
("assert" . vhdl-template-assert-hook)
2893
("attr" . vhdl-template-attribute-hook)
2894
("attribute" . vhdl-template-attribute-hook)
2895
("begin" . vhdl-template-default-indent-hook)
2896
("block" . vhdl-template-block-hook)
2897
("body" . vhdl-template-default-hook)
2898
("buffer" . vhdl-template-default-hook)
2899
("bus" . vhdl-template-default-hook)
2900
("case" . vhdl-template-case-hook)
2901
("comp" . vhdl-template-component-hook)
2902
("component" . vhdl-template-component-hook)
2903
("cond" . vhdl-template-conditional-signal-asst-hook)
2904
("conditional" . vhdl-template-conditional-signal-asst-hook)
2905
("conf" . vhdl-template-configuration-hook)
2906
("configuration" . vhdl-template-configuration-hook)
2907
("cons" . vhdl-template-constant-hook)
2908
("constant" . vhdl-template-constant-hook)
2909
("disconnect" . vhdl-template-disconnect-hook)
2910
("downto" . vhdl-template-default-hook)
2911
("else" . vhdl-template-else-hook)
2912
("elseif" . vhdl-template-elsif-hook)
2913
("elsif" . vhdl-template-elsif-hook)
2914
("end" . vhdl-template-default-indent-hook)
2915
("entity" . vhdl-template-entity-hook)
2916
("exit" . vhdl-template-exit-hook)
2917
("file" . vhdl-template-file-hook)
2918
("for" . vhdl-template-for-hook)
2919
("func" . vhdl-template-function-hook)
2920
("function" . vhdl-template-function-hook)
2921
("generic" . vhdl-template-generic-hook)
2922
("group" . vhdl-template-group-hook)
2923
("guarded" . vhdl-template-default-hook)
2924
("if" . vhdl-template-if-hook)
2925
("impure" . vhdl-template-default-hook)
2926
("in" . vhdl-template-default-hook)
2927
("inertial" . vhdl-template-default-hook)
2928
("inout" . vhdl-template-default-hook)
2929
("inst" . vhdl-template-instance-hook)
2930
("instance" . vhdl-template-instance-hook)
2931
("is" . vhdl-template-default-hook)
2932
("label" . vhdl-template-default-hook)
2933
("library" . vhdl-template-library-hook)
2934
("linkage" . vhdl-template-default-hook)
2935
("literal" . vhdl-template-default-hook)
2936
("loop" . vhdl-template-bare-loop-hook)
2937
("map" . vhdl-template-map-hook)
2938
("mod" . vhdl-template-default-hook)
2939
("nand" . vhdl-template-default-hook)
2940
("new" . vhdl-template-default-hook)
2941
("next" . vhdl-template-next-hook)
2942
("nor" . vhdl-template-default-hook)
2943
("not" . vhdl-template-default-hook)
2944
("null" . vhdl-template-default-hook)
2945
("of" . vhdl-template-default-hook)
2946
("on" . vhdl-template-default-hook)
2947
("open" . vhdl-template-default-hook)
2948
("or" . vhdl-template-default-hook)
2949
("others" . vhdl-template-others-hook)
2950
("out" . vhdl-template-default-hook)
2951
("pack" . vhdl-template-package-hook)
2952
("package" . vhdl-template-package-hook)
2953
("port" . vhdl-template-port-hook)
2954
("postponed" . vhdl-template-default-hook)
2955
("procedure" . vhdl-template-procedure-hook)
2956
("process" . vhdl-template-process-hook)
2957
("pure" . vhdl-template-default-hook)
2958
("range" . vhdl-template-default-hook)
2959
("record" . vhdl-template-default-hook)
2960
("register" . vhdl-template-default-hook)
2961
("reject" . vhdl-template-default-hook)
2962
("rem" . vhdl-template-default-hook)
2963
("report" . vhdl-template-report-hook)
2964
("return" . vhdl-template-return-hook)
2965
("rol" . vhdl-template-default-hook)
2966
("ror" . vhdl-template-default-hook)
2967
("select" . vhdl-template-selected-signal-asst-hook)
2968
("severity" . vhdl-template-default-hook)
2969
("shared" . vhdl-template-default-hook)
2970
("sig" . vhdl-template-signal-hook)
2971
("signal" . vhdl-template-signal-hook)
2972
("sla" . vhdl-template-default-hook)
2973
("sll" . vhdl-template-default-hook)
2974
("sra" . vhdl-template-default-hook)
2975
("srl" . vhdl-template-default-hook)
2976
("subtype" . vhdl-template-subtype-hook)
2977
("then" . vhdl-template-default-hook)
2978
("to" . vhdl-template-default-hook)
2979
("transport" . vhdl-template-default-hook)
2980
("type" . vhdl-template-type-hook)
2981
("unaffected" . vhdl-template-default-hook)
2982
("units" . vhdl-template-default-hook)
2983
("until" . vhdl-template-default-hook)
2984
("use" . vhdl-template-use-hook)
2985
("var" . vhdl-template-variable-hook)
2986
("variable" . vhdl-template-variable-hook)
2987
("wait" . vhdl-template-wait-hook)
2988
("when" . vhdl-template-when-hook)
2989
("while" . vhdl-template-while-loop-hook)
2990
("with" . vhdl-template-with-hook)
2991
("xnor" . vhdl-template-default-hook)
2992
("xor" . vhdl-template-default-hook)
3014
2994
;; VHDL-AMS keywords
3015
2995
(when (and (memq 'vhdl vhdl-electric-keywords) (vhdl-standard-p 'ams))
3017
("across" "" vhdl-template-default-hook 0)
3018
("break" "" vhdl-template-break-hook 0)
3019
("limit" "" vhdl-template-limit-hook 0)
3020
("nature" "" vhdl-template-nature-hook 0)
3021
("noise" "" vhdl-template-default-hook 0)
3022
("procedural" "" vhdl-template-procedural-hook 0)
3023
("quantity" "" vhdl-template-quantity-hook 0)
3024
("reference" "" vhdl-template-default-hook 0)
3025
("spectrum" "" vhdl-template-default-hook 0)
3026
("subnature" "" vhdl-template-subnature-hook 0)
3027
("terminal" "" vhdl-template-terminal-hook 0)
3028
("through" "" vhdl-template-default-hook 0)
3029
("tolerance" "" vhdl-template-default-hook 0)
2996
(mapcar (lambda (x) (list (car x) "" (cdr x) 0 'system))
2998
("across" . vhdl-template-default-hook)
2999
("break" . vhdl-template-break-hook)
3000
("limit" . vhdl-template-limit-hook)
3001
("nature" . vhdl-template-nature-hook)
3002
("noise" . vhdl-template-default-hook)
3003
("procedural" . vhdl-template-procedural-hook)
3004
("quantity" . vhdl-template-quantity-hook)
3005
("reference" . vhdl-template-default-hook)
3006
("spectrum" . vhdl-template-default-hook)
3007
("subnature" . vhdl-template-subnature-hook)
3008
("terminal" . vhdl-template-terminal-hook)
3009
("through" . vhdl-template-default-hook)
3010
("tolerance" . vhdl-template-default-hook)
3031
3012
;; user model keywords
3032
3013
(when (memq 'user vhdl-electric-keywords)
3033
(let ((alist vhdl-model-alist)
3034
abbrev-list keyword)
3036
(setq keyword (nth 3 (car alist)))
3014
(let (abbrev-list keyword)
3015
(dolist (elem vhdl-model-alist)
3016
(setq keyword (nth 3 elem))
3037
3017
(unless (equal keyword "")
3039
(cons (list keyword ""
3041
"vhdl-model" (nth 0 (car alist)) "hook") 0)
3043
(setq alist (cdr alist)))
3018
(push (list keyword ""
3020
"vhdl-model" (nth 0 elem) "hook") 0 'system)
3044
3022
abbrev-list)))))
3046
3024
;; initialize abbrev table for VHDL Mode