Commit Graph

408 Commits

Author SHA1 Message Date
Jeremiah Leary 17a92c182e Updates for issue #506
Refactoring to improve readability.
2021-01-12 08:44:56 -06:00
Emil Vanherp 73420cdca2
remove trailing whitespace 2021-01-11 21:55:56 +01:00
Jeremiah Leary d15993e8db Updates for issue #509:
Adding port rule to check for multiple identifiers on port declarations.

  1)  Added documentation
  2)  Added test
  3)  Added rule port_026
2021-01-09 15:35:16 -06:00
Jeremiah Leary 6ffd9b5636 Updates for issue #513
Adding documentation on supported pragmas.
2021-01-09 13:48:40 -06:00
Jeremiah Leary 0d0e35c986 Updates for issue #446:
Updating documentation for rules entity_600 and architectecture_600 to fix minor errors.
2020-12-31 10:07:05 -06:00
Jeremiah Leary e13adaf072 Updates for issue #429:
Replacing : with colon in rule descriptions.
2020-12-30 14:39:28 -06:00
Jeremiah Leary 8d8169dbe3 Updates for issue #446:
Adding rules to check for consisent capitalization of generic identifiers.

  1)  Added documentation
  2)  Added tests
  3)  Added rules
      a) entity_600
      b) architecture_600
2020-12-28 13:49:21 -06:00
Jeremiah Leary 89bc825a9a Updates for issue #373:
Updating detection of headers and footers.
Added ability to allow for indented block comments.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules:
      a)  block_comment_001
      b)  block_comment_002
      c)  block_comment_003
2020-12-22 12:26:40 -06:00
Jeremiah Leary e604ad0d91 Updates for issue #501:
Cleaning up documentation.
2020-12-22 09:30:06 -06:00
Jeremiah Leary 3a16f97c83 Updates for issue #373:
Fixing centering logic when block comment is indented.
Added special case for Doxygen comments.

  1)  Updated documentation
  2)  Updated tests
  3)  Update rule block_comment_001
2020-12-21 12:11:17 -06:00
Jeremiah Leary 10a2f645b6 Updates for issue #368:
Adding rule to align colons in record type definitions.

  1)  Added documentation
  2)  Added test
  3)  Added rule type_400
2020-12-20 20:00:58 -06:00
Jeremiah Leary be88d4a462 Updates for issue #445
Adding ability for the user to adjust the indenting algorithm.

  1)  Added documentation
  2)  Refactored indent algorithm
      a)  Changed algorithm to use a YAML configuration file
  3)  Added indent dictionary to -oc output
  4)  Updated tests to use new YAML configuration file
2020-12-20 18:06:07 -06:00
Jeremiah Leary 5cd7afd6f4 Updates for issue #373
Adding rules to analyze block comments.

  1)  Added documentation
  2)  Added tests
  3)  Added rules
      a) block_comment_001
      b) block_comment_002
      c) block_comment_003
  4)  Added new extract method
      a) get_consecutive_lines_starting_with_token
2020-12-19 19:48:40 -06:00
Jeremiah Leary b3b245afbc Updates for issue #487
Adding rule to check for blank lines after an architecture body.

  1)  Added documentation
  2)  Added test
  3)  Added rule architecture_200
2020-12-19 11:51:54 -06:00
Jeremiah Leary 17f61baf87 Updates for issue #487
Removing unused code.
2020-12-19 11:45:52 -06:00
Jeremiah Leary 685494b2ac Updates for issue #487:
Adding links to architecture_rules.
Fixing copyright date.
2020-12-18 18:54:54 -06:00
Jeremiah Leary 312167b3e5 Updates for issue #494:
Updating documentation for rule instantiation_601 to show the correct default prefix value.
2020-12-18 18:40:41 -06:00
Jeremiah Leary f3e77c646c Updates for issue #498:
Minor grammar update in documentation.
2020-12-18 18:30:24 -06:00
Jeremiah Leary 536abbedd7 Updates for issue #401:
Expanding rules for attributes:

  1)  Removed current attribute rules
  2)  Added rules for:
      a) attribute_declaration
      b) attribute_specification
      c) entity_specification
  3)  Added documentation
  4)  Added tests
  5)  Refactored base rules to allow for lists of token types
      a) single_space_after_token
      b) single_space_before_token
2020-12-18 14:13:40 -06:00
Jeremiah Leary 2f3d4c0996 Updates for issue #500
Not all rules were using the rule.add_violation method which enforced code_tags.

  1)  Updated tests
  2)  Changed vsg-disable-next-line to vsg_disable_next_line
  3)  Updated documentation
  4)  Updated all rules to use the add_violation method
2020-12-18 09:04:05 -06:00
Jeremiah Leary f8abca3376 Updates for issue #494:
Adding prefix and suffix rules for instantiation labels:

  1)  Added documentation
  2)  Added tests
  3)  Added rules:
      a)  instantiation_600
      a)  instantiation_601
2020-12-17 12:31:01 -06:00
Jeremiah Leary eb31465fb5 Updates for issue #491:
Adding allow_library_clause option to rule library_003 to allow consecutive library clauses.

   1)  Added tests
   2)  Added option allow_library_clause to rule library_003
   3)  Updated documentation
2020-12-17 11:51:16 -06:00
Jeremiah Leary 72271401ea Updates for issue #456:
Fixing documentation link.
2020-12-17 09:23:07 -06:00
Jeremiah Leary e7342fb578 Updates for issue #487:
1)  Fixed several documentation issues
  2)  Fixed solution for single space between rules
2020-12-17 09:13:27 -06:00
Jeremiah Leary 83f71236c2 Updates for issue #454
Adding summary option to -of command line argument.

  1)  Added documentation covering possible output formats
  2)  Added summary option
  3)  Removed guideline severity
2020-12-16 20:20:32 -06:00
Jeremiah Leary f1ba134c91 Fixing title. 2020-12-15 13:20:22 -06:00
Jeremiah Leary b0823a9366 Updated for issue #490:
Adding rules for procedure calls.

  1)  Added documentation
  2)  Added tests
  3)  Added rules
2020-12-15 10:57:36 -06:00
Jeremiah Leary 4d4f92f5ad Updates for issue #489
Fixing documentation issues.
2020-12-14 09:16:46 -06:00
Jeremiah Leary 5a959acb17 Updates for issue #456
Adding ability to add or remove optional keywords.

  1)  Updated base rules to allow for removal of keywords
  2)  Changed default of instantiation_033 to add the keyword
  3)  Updated tests
  4)  Updated documentation
2020-12-12 10:49:44 -06:00
Jeremiah Leary 7a25ded9ef Updates for issues #457 and #444:
Adding block rules.

  1)  Added documentation
  2)  Added tests
  3)  Added initial block rules
2020-12-10 13:48:21 -06:00
Jeremiah Leary e06c6f5373 Updates for issue #487:
Fixed link in documentation for rule instantiation_034.
2020-12-09 21:00:40 -06:00
Jeremiah Leary 089ba52904 Updates for issue #378
Adding rules for package body.

  1)  Added 22 package_body rules
  2)  Added documentation
  3)  Added tests
2020-12-09 16:51:23 -06:00
Jeremiah Leary 30bfcad756 Updates for issue #410
Adding rule to enfore component or entity instantiations:

  1)  Added documentation
  2)  Added tests
  3)  Added rule instantiation_034
2020-12-08 15:01:36 -06:00
Jeremiah Leary bed7a0bcad Updates for issue #409
Adding rule to check for length of process.

  1)  Added documentation
  2)  Added tests
  3)  Added rule length_003
  4)  Added Guideline severity
      a)  Switched all length rules to guidelines
2020-12-08 13:26:57 -06:00
Jeremiah Leary d4f08e36eb Updates for issue #408
Adding check for length of file.

  1) Documentation updates
     a)  Added documentation for rule length_002
     b)  Added section in configuring length rules to cover length_002
  2) Added tests
  3) Added rule length_002
2020-12-08 10:23:26 -06:00
Jeremiah Leary 1cc326e628 Updates for issue #259
Multiple sequential signal assignments on a single line should not exist.

  1)  Added documentation for rule sequential_007
  2)  Added tests
  3)  Added rule sequential_007
2020-12-08 09:17:15 -06:00
Jeremiah Leary a80f2ded4f Updates for issue #419
Adding ability to allow for fixing of individual errors:

  1)  Updated tool integration documentation
  2)  Added --fix_only command line argument
  3)  Added feature to code

TODO:

  1)  Add unittest for feature
2020-12-07 16:05:03 -06:00
Jeremiah Leary f3af76252b Updates for issue #401 and #408:
Adding ability to disable rules on the next line.
2020-12-07 12:54:34 -06:00
Jeremiah Leary 164a837f96 updates for issue #401 and #417:
Added --json command line argument to output violations in JSON format.

  1)  Added tests
  2)  Added code to output violations in JSON format
  3)  Updated documentation

(cherry picked from commit a39839e6466e581900febfc0305ef87adc82b00f)
2020-12-06 11:35:35 -06:00
Jeremiah Leary a3c5beedbd Updates for issue #401 and #416:
Added command line option --all_phases to allow VSG to not stop when a violation was found while analyzing a file.

(cherry picked from commit 43d4498815be9ed3187a34409ea06834d7b6dfce)
2020-12-06 10:43:30 -06:00
Jeremiah Leary 17f2c29942 Fixing headers on rule documentation. 2020-12-05 17:50:00 -06:00
Jeremiah Leary 610c21d649 Updates for issue #451
1)  Adding links in documentation to which rules use prefix and suffix rules.
  2)  Fixing documentation build issues
2020-12-05 16:02:23 -06:00
Jeremiah Leary cd64cdeae0 Updates for issue #474
Adding rule function_017 to handle the case of function designators.

  1)  Added documentation
  2)  Added test
  3)  Added rule function_017
2020-12-04 17:03:00 -06:00
Jeremiah Leary 6f7940000e Adding rule concurrent_010 to remove blank lines within a concurrent signal assignment statement. 2020-11-27 09:02:57 -06:00
Jeremiah Leary c7c0911824 Updates for issue #482:
Added rule concurrent_009 to handle conditional_signal_assignments.

  1)  Removed conditional_signal_assignments from rule concurrent_003
  2)  Added tests
  3)  Added documentation
  4)  Added rule concurrent_009
2020-11-26 18:43:16 -06:00
Jeremiah Leary c5712a81fb Updates for issue #480
Adding rule if_035 to handle conditions not on the same line as **if** and **elsif** keywords.

  1)  Added test
  2)  Added documentation
  3)  Added rule if_035
  4)  Updated test for rule if_009
2020-11-24 12:30:09 -06:00
Jeremiah Leary c2de119824 Updates for issues #464 and #465:
Generic map aspect rules moved from instantiation to generic_map rules.
Port map aspect rules moved from instantiation to port_map rules.

  1)  Updated documentation
      a)  Added generic_map rule section
      b)  Added port_map rule section
  2)  Moved instantiation rules to generic_map rules
  3)  Moved instantiation rules to port_map rules
2020-11-22 21:42:29 -06:00
Jeremiah Leary 6f9b598617 Updates for issue #473:
1)  Removed rule process_037 as it was a duplicate of rule process_031
2020-11-22 16:15:07 -06:00
Jeremiah Leary fad6f180b6 Updates to address additional style tests:
1)  Updated blank line above/below rules to default to not allow comments
      a)  Set several tests which already allowed comments to allow comments
      b)  Updated documentation
      c)  Added documentation for configuring blank line rules
  2)  Fixed generate_011
      a)  Now handles all three types of generates
      b)  Handles nested generates
2020-11-21 17:00:16 -06:00
Jeremiah Leary 12d7d6f6ad Updating indent rules for generate statement body.
1)  Changed indent level of begin and end keywords
  2)  Updated rule generate_006
  3)  Added rule generate_018
  4)  Updated documentation
2020-11-15 22:13:54 -06:00