Commit Graph

18 Commits

Author SHA1 Message Date
Jeremiah Leary de942890b3 Updates for issue #385:
The rule process_031 was attempting to align variables defined in function and procedures with variables outside functions and procedures in the process declarative region.

  1)  Updated tests to expose issue
  2)  Fixed to make tests pass

Additional issue found with handling indents on processes with just 'process is' when updating tests.

  1)  Fixed code to make tests pass
2020-05-09 09:12:19 -05:00
Jeremiah Leary cafe651a15 Updates for issue #379:
Rule process_019 was not honoring records.

  1)  Updated tests
  2)  Updated clock detection
  3)  Update rule process_019
2020-04-27 20:20:51 -05:00
Jeremiah C Leary 7d940306ec Updates for issue #314 and issue #333:
Issue #314:

Updated all label rules to use utils.extract_label or utils.extract_end_label:

  1) Added utils.extract_end_label
  2) Added more end label attributes to line.py
  3) Updated classifiers to set the new end label attributes
  4) Updated tests
  5) Updated rules to use utils.extract_label or utils.extract_end_label

Issue #333:

Fixed bug where nested generate labels were not updated correctly:

  1)  Added test case
  2)  Updated code
2020-02-23 10:51:44 -06:00
Jeremiah C Leary f684b4b0a7 Updates for issue #319:
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
2020-01-06 22:18:07 -06:00
Jeremiah C Leary 86c708a986 Minor formatting updates for Codacy issues. 2020-01-02 11:58:48 -06:00
Jeremiah C Leary f0c474c695 Updates for issue #280:
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.
2019-12-05 09:52:59 -06:00
Jeremiah C Leary 791021b799 Updates for issue #284:
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
2019-10-20 07:20:49 -05:00
Jeremiah C Leary a6d82e7bbe Updates for issue #248:
Updated the process classifier to update the insideResetProcess line attribute.
2019-09-08 06:40:01 -05:00
Jeremiah C Leary 952e4771b9 Update for issue #196:
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
2019-06-28 18:43:40 -05:00
Jeremiah C Leary 43e708cf16 Updates for issue #195:
1)  Added classification of clock processes
  2)  Added classification for after keyword
  3)  Added tests to validate classifications
2019-06-09 21:08:47 -05:00
Jeremiah C Leary 6f7ae69e55 Updates for issue #220:
Invalid classification of procedure "begin" keyword as a process "begin" keyword.

  1)  Updated tests to include testcase
  2)  Updated code to handle testcase
2019-03-22 17:26:42 -05:00
Jeremiah C Leary 5f5eee4571 Updates for issue #203
Made process detection ignore commented out code.

  1)  Updated test
  2)  Updated classifier
2019-02-11 18:13:50 -06:00
Jeremiah C Leary 2ac0e8ee8e Updates for issue #184
Added support for processs without sensitivity lists.
2018-12-01 10:09:17 -06:00
Jeremiah C Leary a479b22c3d Updates for issue #182
1)  Updated test to detect generics and ports starting with "process"
  2)  Restricted classifier to look for the whole word "process"
2018-11-29 19:49:10 -06:00
Jeremiah C Leary fb27c4434a Updates for issue #166:
1)  Fixed classification of "begin" keyword in comments
  2)  Updated tests
  3)  Split vhdlFile process tests into their own file
2018-09-13 22:28:22 -05:00
Jeremiah C Leary dd88efba0d Refactored classifiers and function_009. 2017-12-27 15:00:41 -06:00
Jeremiah C Leary fb09a153a7 Refactored process rules. 2017-12-23 13:36:08 -06:00
Jeremiah C Leary 2662aadf41 Updates for issue #90
1)  Splitting classify into indivual files based on classes
2017-12-01 17:49:14 -06:00