Added ability to configure either 'event or _edge for clock definitions:
1) Updated documentation
2) Added isClockDefinition to line object
3) Updated process classification to set isClockDefinition
4) Updated tests
5) Updated rule process_029
1) Removed unused elif code because it could never be executed.
2) Updated documentation for component classifier.
3) Updated tests for rule component_012 to cover the _get_solution method.
The rule process_012 would add the *is* keyword to the end of the process sensitivity list without removing an *is* keyword if it existed on a different line.
1) Updated documentation
2) Updated tests
3) Updated process classifier
4) Added isProcessIs line attribute
5) Updated rule process_012 to remove the *is* keyword if is exists on a seperate line.
Adding rule signal_015 to handle a signal declared over multiple lines:
1) Added documentation
2) Added test
3) Added rule signal_015
NOTE: Only the detection portion has been added. The fix will be added next.
The indent level of the begin keyword was incorrect in cases of processes without sensitivity lists.
1) Changed indent level to match that of the process keyword in all cases.
2) Updated tests
The constant classifier was classifying signals in concurrent assignments as constants if a signal started with "constant".
1) Updated tests
2) Updated constant classifier
Fixed issue where ports in an instantiation which started with "end" were classified as the end of the architecture.
Fixed issue where concurrent assignments which started with "end" were classified as the end of the architecture.
1) Added tests
2) Updated architecture classifier
Added fix logic for rule after_001.
1) Added configurable attributes magnitude and units
2) Updated documentation
3) Updated tests
4) Updated clock process classification to detect clock processes without resets
Adding test for after statement in clock process:
1) Enhanced testing
2) Added after_001 rule
3) Updated documentation
4) Fixed bug in detecting the end of a sequential statement
5) Updated classification logic
Added rule constant_014 to handle multiline non array constants:
1) Added documentation
2) Fixed rule constant_012 so it does not fire on non array constants
3) Added rule constant_014
4) Added tests
5) Added classification of array constants
Added rules to handle the component keyword in component instantiations:
1) Enforce component keyword to lowercase
a) Added documentation
b) Added test
c) Added rule instantiation_031
d) This rule is disabled by default
2) Enforce a single space after the component keyword
a) Added documentation
b) Added test
c) Added rule instantiation_032
d) This rule is disabled by default
3) Remove component keyword
a) Added documentation
b) Added test
c) Added rule instantiation_033
Completed bug fix:
1) Added rule procedure_006
a) Added documentation
b) Added test
c) Added rule
2) Fixed misclassification of procedure parameters as variable assignments
a) Enhanced tests for procedures
b) Enhanced tests for variable_assignments
c) Fixed variable_assignment classifier to ignore component parameters
Invalid classification of procedure "begin" keyword as a process "begin" keyword.
1) Updated tests to include testcase
2) Updated code to handle testcase
Added rule to handle generate label and generate keyword not on the same line:
1) Added generate_015 to flag label and keyword not on the same line
2) Added tests
3) Added documentation
4) Improved classification of generates to detect label and keyword not on the same line
NOTE: This is currently not fixable.
The class vhdlFile now takes a list instead of a file name.
This removes the responsibility of reading the file from the vhdlFile class.
Which allows for better integration into other tools.
Added feature to ensure a blank line before the first "if" statement unless there is a comment.
1) Added tests
2) Added documentation
3) Updated tests to match new rule