vhdl-style-guide/vsg/rules/process/rule_019.py

15 lines
390 B
Python

from vsg.rules import case_rule
from vsg import utils
class rule_019(case_rule):
'''
Process rule 019 checks the "end process" label has proper case.
'''
def __init__(self):
case_rule.__init__(self, 'process', '019', 'isEndProcess', utils.extract_end_label)
self.case = 'upper'
self.solution = 'Change process end label to ' + self.case + 'case'