Commit Graph

260 Commits

Author SHA1 Message Date
Jeremiah Leary a3c28f1807
Merge pull request #357 from jeremiah-c-leary/issue-344
Merging in solution to Issue 344
2020-03-21 11:08:03 -05:00
Michał Kruszewski 0f0ec0f47c Refactor keyword alignment rules - part 2. 2020-03-17 11:22:25 +01:00
Jeremiah C Leary b2c2228ba1 Updates for issue #344
Added ability to set rule individual rule configurations.

  1)  Updated documentation
  2)  Updated parsing of configuration files to handle individual rule configurations.
2020-02-28 07:24:26 -06:00
Michał Kruszewski 2f08a64bda Refactor keyword alignment rules. 2020-02-24 21:14:44 +01:00
Jeremiah C Leary 777661841a Fixing headers in documentation. 2020-02-23 19:55:26 -06:00
Jeremiah C Leary 4986454772 Updates for issue #332
Single line concurrent statements are allowed as long as there is only one **else** keyword:

  1)  Updated documentation for rule concurrent_007
  2)  Created new tests
  3)  Updated existing tests
  4)  Updated rule concurrent_007 to allow for single line statements
  5)  Updated rule concurrent_007 to handle lines with multiple **else** keywords
2020-02-23 16:36:34 -06:00
Jeremiah C Leary 02d45aa813 Updating process rules that deal with upper and lower case to point to documentation on how to configure the rules for case. 2020-02-23 10:50:28 -06:00
Jeremiah C Leary 4c962c9bc6 Updates for issue #339:
The configuration of a single rule can be requested:

  1)  Added tests
  2)  Updated documentation
  3)  Updated code
2020-02-22 17:53:31 -06:00
Jeremiah C Leary 0f4f0ba88b Updates for issue #337
Updated rule architecture_005 to move the "of" keyword to the same line as the architecture keyword.

  1)  Updated tests
  2)  Updated code
  3)  Updated documentation
2020-02-21 22:23:28 -06:00
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