Fixed corner case in detecting port assignments in utils.extract_port_assignment:
1) Update instantiation_021 test case
2) Updated code to address issue
VSG was not handling more than two port assignments on a single line correctly for rule instantiation_021:
1) Updated tests to expose issue
2) Added tokenizing logic
3) Added three new utility functions
a) extract_port_assignments
b) extract_string_before_string
c) extract_string_after_string
4) Updated code to handle multiple port assignments correctly
VSG was considering commas inside parenthesis as a delimiter for a port inside an instantiation.
1) Updated tests to expose the issue
2) Updated code to make test pass
Rule instantiation_024 could not handle functions in generic or port assignments:
1) Added test to expose the issue
2) Added remove_parenthesis function to utils
3) Updated rule instantiation_024 to handle functions in generic/port assignments
Rule port_013 was including a port assignment when determining how many ports were defined on a single line.
1) Added tests to expose the issue
2) Updated code to address the port_013 issue
utils.extract_label will now extract a label from the beginning or end of a line.
It calls either utils.extract_begin_label or utils.extract_end_label.
Updated architecture tests to use a dictionary for the violation list.
1) Updated code
a) Added utils.create_violation_dict function
b) Updated architecture rules
2) Updated tests
Adding parenthesis alignment to rule concurrent_003.
1) Updated documentation
2) Added tests
3) Updated rule concurrent_003
NOTE: This in an interim commit before refactoring.
Added two rules to handle setting the case for range keywords **to** and **downto**.
1) Added documentation
2) Added tests
3) Added rules range_001 and range_002
During this change it turned out that there was a bug in how
case was fixed for case rule. It is now fixed, because words that
needs fixing are now stored per line, not per file like it was
previously.
VSG would crash if the closing ; was not on the same line as the signal keyword.
Created rule signal_015 to handle the general case of multiple signals declared in a single signal declaration over multiple lines.
1) Created test cases
2) Updated documentation
3) Added rule signal_015
Whitespace_011 would add a space between a - and a number.
This is a partial fix to not flag this issue.
Additional work is needed to handle the generic case.