Commit Graph

251 Commits

Author SHA1 Message Date
Michał Kruszewski 985ea8da9c Make architecture rules inherit from case rule. 2020-01-20 20:59:49 +01:00
Jeremiah Leary 374e4b0a5d
Delete debug
This was  a debug file I used to check for case rules in the documentation.
2020-01-07 06:52:12 -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
Michał Kruszewski c9e5dffefe Make entity and component rule 012 inherit from case_rule. 2020-01-04 10:34:51 +01:00
Michał Kruszewski 380d6856f9 Fix case rules for instantiation rules. 2020-01-02 11:58:32 +01:00
Michał Kruszewski a35faba2b9 Fix case rules for process rules. 2019-12-31 12:41:08 +01:00
Michał Kruszewski a27aaf56b8 Fix case rules for package rules. 2019-12-29 14:36:37 +01:00
Michał Kruszewski 9947bf187c Fix case rules for if_statement rules. 2019-12-28 11:48:06 +01:00
Michał Kruszewski 71b2b64c9d Fix case rules for generic rules. 2019-12-16 14:46:48 +01:00
Michał Kruszewski d166aa461b Fix case rules for port rules. 2019-12-11 21:42:10 +01:00
Michał Kruszewski 22d7c06fb8 Fix case rules for signal rules. 2019-12-07 12:44:36 +01:00
Michał Kruszewski ca1eeae7e4 Fix case rules for variable rules. 2019-12-06 10:44:30 +01: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 1a5aa37f7a Updates for issue #235:
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.
2019-12-04 08:30:41 -06:00
Jeremiah C Leary bd5b882326 Updates for issue #288:
Updated generate case rules to allow for configuring upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules generate_005 and generate_010 to allow for upper or lower case.
2019-12-01 09:16:49 -06:00
Jeremiah C Leary c603a9b5dc Updates for issue #288:
Updated function case rules to allow for configuration of either upper or lower case.

  1)  Updated documentation
  2)  Added tests
  3)  Updated rule function_005 so it can be either upper or lower case
2019-12-01 08:12:17 -06:00
Jeremiah C Leary be51fdff4a Updates for issue #288:
Updated rule for_loop_003 to allow for case configuration.

  1)  Updated documentation
  2)  Updated tests
  3)  Update rule for_loop_003 to allow for upper or lower case.
2019-12-01 07:51:17 -06:00
Jeremiah C Leary 082424a54a Updates for issue #288:
Fixing default values for rule entity_006 and entity_014 from uppercase to lowercase.
2019-11-30 17:29:38 -06:00
Jeremiah C Leary b05b979470 Updates for issue #288:
Updated entity case rules to allow for configuration upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules entity_006 and entity_014
2019-11-30 17:27:32 -06:00
Jeremiah C Leary 620c13ad20 Updates for issue #288:
Updated architecture case rules to allow for upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated the following rules:

      architecture_006
      architecture_012
      architecture_014
2019-11-30 15:16:20 -06:00
Jeremiah C Leary 950c19dd26 Updates for issue #288:
The follow case rules were made configurable:

  architecture_004
  architecture_019
  architecture_020
  architecture_021

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules
2019-11-30 10:29:26 -06:00
Jeremiah C Leary 1b869ff8af Updates for issue #288:
Updated rules architecture_013 and architecture_014 so their case can be user defined.

  1)  Updated documentation
  2)  Added tests
  3)  Updated rules architecture_013 and architecture_014
2019-11-30 08:40:33 -06:00
Jeremiah C Leary 9b7e7b179f Updates for issue #288:
Updated rule architecture_011 to allow the user to set the case for the architecture name.

  1)  Updated documentation
  2)  Added test
  3)  Updated rule arechitecture_011
2019-11-30 08:09:10 -06:00
Jeremiah C Leary a04bb4cd16 Updates for issue #288:
Updated rule entity_012 to allow for upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rule entity_012
2019-11-29 09:42:09 -06:00
Jeremiah C Leary fa3e67d598 Updates for issue #276:
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
2019-11-29 08:38:30 -06:00
Jeremiah C Leary d4319c1ab6 Fixing heading styles. 2019-11-27 12:28:39 -06:00
Jeremiah C Leary a918976c22 Updates for issue #278:
Added subphases to allow rules within a phase to be executed in the proper order.

  1)  Updated documentation
  2)  Added subphases to rule_list.fix() method
2019-11-27 07:44:27 -06:00
Jeremiah C Leary 144473f164 Updates for issue #271
Adding rule length_001 to check for line length violations:

  1)  Added documentation
  2)  Added tests
  3)  Added rule length_001
2019-11-10 14:53:48 -06:00
Jeremiah C Leary 7b157f86aa Updates for issue #282
Added rule to ensure signal declarations are on a single line.

  1)  Added documentation
  2)  Added tests
  3)  Added rule signal_016
2019-11-10 08:33:38 -06:00
Jeremiah C Leary 8abcf7877b Updating documentation for rule signal_015. 2019-11-10 06:51:34 -06:00
Jeremiah C Leary 5696c3a678 Updates for issue #282:
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.
2019-11-03 20:06:38 -06:00
Jeremiah C Leary 15308e63fc Resolving warnings in documentation.
issue #269
2019-10-17 07:10:31 -05:00
Michał Kruszewski 996febb7a0 Add prefix and suffix rules. 2019-10-16 11:53:58 +02:00
Jeremiah Leary edf8abe371
Adding images to show now to run VSG from Notepad++ 2019-10-13 20:59:52 -04:00
Jeremiah C Leary 23bc434ff6 Updates for issue #257:
Process labels not on the same line as the process must be moved to the same line as the process keyword.

  1)  Updated documentation
  2)  Added tests
  3)  Added rule process_032
2019-10-13 11:16:29 -05:00
Jeremiah C Leary 112bb79cd6 Updates for issue #256:
Added rule whitespace_013 to enforce a space around logic operators.

  1)  Added documentation
  2)  Added tests
  3)  Added rule whitespace_013
2019-10-13 07:22:01 -05:00
Jeremiah C Leary 0b4c10ee5c Updates for issue #265:
Adding rule architecture_025 to enforce naming of architectures.

  1)  Added tests
  2)  Added documentation
  3)  Added rule architecture_025
2019-10-12 21:04:43 -05:00
Jeremiah C Leary a0ccff78ab Adding documentation on how to change the default value for lowercase and uppercase rules. 2019-10-12 09:24:25 -05:00
Jeremiah Leary db5023db51
Merge pull request #264 from m-kru/master
Update docs.
2019-10-12 09:34:44 -04:00
Michał Kruszewski fbd038c681 Update docs. 2019-10-12 10:09:50 +02:00
Jeremiah C Leary 1031fac933 Fixing rendering issue for JSON in Note for instantiation rules documentation. 2019-10-11 15:32:03 -05:00
Jeremiah C Leary 1acc2a9623 Updates for issue #260:
Adding information on how to run tests to the contributing section of the documentation.
2019-10-11 15:30:07 -05:00
Michał Kruszewski 2b9c9a7f8d Add rule for checking if generic name starts with G_. 2019-09-24 21:05:28 +02:00
Jeremiah C Leary 2eb03b720a Updates for issue #248:
Added rule after_003 to detect and remove after assignments in a reset portion of a clock process:

  1)  Added documentation
  2)  Added rule after_003
  3)  Added tests
2019-09-08 07:01:39 -05:00
Jeremiah C Leary b49228af3f Updating usage for version argument. 2019-07-03 21:00:43 -05:00
Jeremiah C Leary d9d1940cda Updates for issue #195
Added rule to align after keyword in clock processes.

  1)  Added documentation
  2)  Added rule after_002
  3)  Added tests
2019-06-28 19:31:10 -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 e6ff07855c Updates for issue #196
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
2019-06-28 15:12:44 -05:00
Jeremiah C Leary 68c6a3860c Updates for issue #245
Fixed conflict between comment_007 and comment_008.

  1)  Renumbered comment_007 to comment_010.  This ensures it is ran after comment_008.
  2)  Updated documentation
  3)  Updated tests
2019-06-28 10:38:23 -05:00
Jeremiah C Leary 9dfa8c81cc Fixing indent on NOTE. 2019-06-28 10:36:38 -05:00