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
Updated tests for changes between Python 2.7 and Python 3.
1) Fixed issue with ranges being used as initial lists
2) Fixed issue with subprocess returning bytes instead a string
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.
1) Reduced scope of constant_009 to the architecture declaritive region
2) Refactored constant fix tests to be independent using the setUp method
3) Updated documentation
Fixed crashing issue if port mode was not defined.
1) port_018 now checks if mode is defined before checking if port type is lowercase
2) Added port_023 to check for existance of port mode
3) Added tests
4) Added documentation
Fixed variable : alignments so process variables are not aligned between processes or with variables in the architecture declarative region.
1) Restricted variable_009 to only operate in the architecture declarative region
2) Added variable_011 to align :'s in processes
3) Added/Updated tests
4) Added and updated documentation
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
Use list comprehensions rather than iterating and appending.
Don't worry about limiting the number of lines considered in
test_block_indent_assignment(). The other tests don't do this and the
comparison will work as expected even if the lists are different sizes.
Remove unnecessary comments. It is obvious that the result of a list
comprehension will be a list and that assertEqual will compare its two
arguments.
Add an array type and constant to the block unit test input file to
increase the range of scenarios covered.
Change the entity name from "ENTITY" to "BLOCK_EXAMPLE" so that it does
not conflict with the keyword.
Add an entity declaration so that the file is a valid standalone VHDL
design.
Adding initial support for blocks:
1) block structures are now detected
2) indenting enforced
NOTE: extensive testing of structures within a block have not been tested.
1) Non VHDL keyword signal types are not flagged by signal_010
2) Fixed error with signal_009 checking colon alignments in the whole file instead of just in the architecture declaration.
3) Updated documentation
4) Updated tests