Commit Graph

79 Commits

Author SHA1 Message Date
Jeremiah Leary 76845d60d7 Adding component rules. 2017-09-22 07:57:52 -05:00
Jeremiah Leary 7c4bed2aea Updates for component rules:
1)  Added component attribute to line class
  2)  Added populating line class component attributes to vhdlFile class
2017-09-21 10:50:43 -05:00
Jeremiah Leary 2d3d0ae376 Updates for various rules after testing with new example:
1)  Updated port rules
  2)  Updated whitespace rules
  3)  Updated vhdlFile class
  4)  Test cases created for issues not found when testing against example
2017-09-20 21:59:01 -05:00
Jeremiah Leary 33e49e9361 Updates for generic rules:
1)  Added rule to ensure :'s are aligned for every generic in the generic map.
2017-09-17 17:43:31 -05:00
Jeremiah Leary 8043163f97 Updates for entity rules:
1)  Added rule to check for alignment of :'s in port declarations
  2)  Fix issue with assigning isPortDeclaration to comment lines
2017-09-17 16:58:03 -05:00
Jeremiah Leary 575df91575 Updates for concurrent rules:
1)  Added checking for alignment of <= in sequential groups of concurrent assignments
2017-09-17 14:19:38 -05:00
Jeremiah Leary 9953087003 Upates for comment rules:
1)  Added rule to check for comment alignment in processes
2017-09-17 14:04:10 -05:00
Jeremiah Leary 3921340a98 Updates to sequential rules:
1)  Fixed issue with alignment of <= after running against examples
2017-09-16 21:47:30 -05:00
Jeremiah Leary 7c01a97a34 Updates for sequential rules:
1)  First pass at detecting inconsistent alignment of <= in sequential
  groups of sequential statements.
2017-09-16 21:27:14 -05:00
Jeremiah Leary cd084d06de Updates for whitespace rules:
1)  Added checks for spaces after open parenthesis.
  2)  Added checks for spaces before open parenthesis.
2017-09-16 20:37:27 -05:00
Jeremiah Leary 0960663cd9 Updates for sequential rules:
1)  Adding sequential rules
  2)  Added sequential rules to rule_list
2017-09-16 08:31:15 -05:00
Jeremiah Leary e4365f087c Updates for sequential rules:
1)  Added sequential attributes to line class
  2)  Populated sequential attributes with vhdlFile class

NOTE:  Still need to write rules for sequential statements.
2017-09-14 21:35:14 -05:00
Jeremiah Leary 1a6498d289 Updates for comment rules:
1) Added comment rules
2017-09-14 10:55:01 -05:00
Jeremiah Leary 1ba2b544f5 Updates for case rules:
1)  Added case rules
  2)  Refactored names on several rule class methods
2017-09-13 15:06:37 -05:00
Jeremiah Leary 914ef913a4 Refactored rules. 2017-09-12 21:16:56 -05:00
Jeremiah Leary f1bdd6fef9 Updates for if rules:
1)  Added If rules
2017-09-12 15:27:54 -05:00
Jeremiah Leary 47500d9f26 Updates for process rules:
1)  Updated to check for proper blank lines in the process declarative area.
2017-09-12 07:58:26 -05:00
Jeremiah Leary 74fa7abbac Updates for process rules:
1)  Adding rules for spacing around keywords
2017-09-11 19:54:06 -05:00
Jeremiah Leary 8f13a352cb Updates for process rules:
1)  Added new rules to rule list
  2)  Ran against examples and made minor update
2017-09-11 12:47:25 -05:00
Jeremiah Leary 75bb29e6a7 Updates for process rules:
1)  Added more rules for processes
2017-09-11 12:28:21 -05:00
Jeremiah Leary 11381cff8d Updates for concurrent rules:
1)  Remove labels from concurrent assignments
  2)  Ensure at least one space before <=
2017-09-11 06:52:36 -05:00
Jeremiah Leary 1fb8954fe7 Refactored detection of architecture begin to not be so greedy. 2017-09-10 22:15:20 -05:00
Jeremiah Leary 543e3620c3 Updates for new method:
1)  Updated bug in architecture rules after running against examples
  2)  Updated rule list to handle split of entity rules into entity, port, and generic rules
  3)  Updated main program to handle new method
2017-09-10 22:09:24 -05:00
Jeremiah Leary 789692c297 Updates for new method:
1)  Removed unused methods in rule class.
2017-09-10 21:47:01 -05:00
Jeremiah Leary 6582e6b463 Updates for new method:
1)  Commit stray files which should have been checked in before.
2017-09-10 21:40:53 -05:00
Jeremiah Leary cd8c1f665c Refactored concurrent rule 003. 2017-09-10 21:38:49 -05:00
Jeremiah Leary 7bab75b081 Updates for new method:
1)  Refactored concurrent rules
  2)  Updated tests for new structure
2017-09-10 21:34:22 -05:00
Jeremiah Leary 4ea8fe968d Updates for new method:
1)  Refactored process rules
  2)  Updated testing for new structure
2017-09-10 21:00:41 -05:00
Jeremiah Leary f34de3120a Updates for new method:
1)  Refactored constant rules
  2)  Updates testing to match new directory structure
2017-09-10 20:12:48 -05:00
Jeremiah Leary 0216d76fbb Updates for test directory restructuring:
1)  Moved tests out from under modules
2017-09-10 19:04:01 -05:00
Jeremiah Leary a2fcd29a65 Updates for new method:
1)  Added constant attribute to line.
2017-09-10 18:54:39 -05:00
Jeremiah Leary f8f21c5112 Updates for new method:
1)  Refactored signal rules
2017-09-10 17:48:41 -05:00
Jeremiah Leary 300166fdae Updates for new method refactor:
1)  Refactored architecture rules
2017-09-09 10:39:14 -05:00
Jeremiah Leary f6e932e670 Updates for new method refactor:
1)  Added architecture attributes to line object
  2)  Added methods to fill out attributes to vhdlFile object
2017-09-09 08:33:21 -05:00
Jeremiah Leary 95a310558d Updates for new method refactor:
1)  Added generic tests
2017-09-09 08:32:40 -05:00
Jeremiah Leary c2fe14aad2 Updates for new method refactor:
1)  Refactored whitespace rules.
2017-09-09 08:04:08 -05:00
Jeremiah Leary 14f7564a4e Updates for new method:
1)  Added generic rules

NOTE:  splitting of entity rules into entity, port and generic rules is now complete.
2017-09-09 07:50:02 -05:00
Jeremiah Leary 8e5c233021 Updates for new method refactoring:
1)  Added three missing tests from the split of rule_entity into three
  seperate rules.
2017-09-08 17:10:43 -05:00
Jeremiah Leary c2a8dbf76c Updates for new method refactoring:
1)  Split rule_entity into rule_entity, rule_port and rule_generic
  2)  Refactored rule_entity
  3)  Refactored rule_port
  4)  Updated line and vhdlFile classes to support refactoring

NOTE:  rule_generic must still be refactored and added
2017-09-08 16:35:50 -05:00
Jeremiah Leary bd1c647dab Updates for entity rules:
1)  Added some entity attributes to the line object
2017-09-08 11:27:19 -05:00
Jeremiah Leary bc053a3675 Refactored entity rule tests. 2017-09-08 11:16:36 -05:00
Jeremiah Leary 2e63dbd183 Updates for new method:
1)  Refactored library rules
2017-09-08 10:12:38 -05:00
Jeremiah Leary a14937eddf Updates for new parsing method:
1)  Created line and vhdlFile classes and tests
2017-09-08 09:20:49 -05:00
Jeremiah Leary 4233aabc7f Updates for process rules:
1)  Initial pass at process rules
  2)  Added rules to rule_list
  3)  Refactored concurrent rules due to change in _insideProcess def
2017-09-07 17:12:13 -05:00
Jeremiah Leary 0f90902def Updates for concurrent statement rules:
1)  Adding concurrent statement rules
  2)  Added rules to rule list
2017-09-06 12:49:18 -05:00
Jeremiah Leary 99280dd1eb Updates for constant rules:
1)  Adding first pass at rules for constats
2017-09-05 21:04:06 -05:00
Jeremiah Leary 16f24feb84 Updates for signal rules:
1)  Added rule to check for alignment of colons in signal declarations
2017-09-05 18:12:57 -05:00
Jeremiah Leary 2a88c9a641 Updates for signal rules:
1)  Added checking of configurable prefixes

NOTE:  Still need to figure out how to configure them.
2017-09-05 15:37:12 -05:00
Jeremiah Leary 05d22acf4e Updates for signal rules:
1) Adding rules for signals
  2) Added rules to rule_list
2017-09-05 08:32:01 -05:00
Jeremiah Leary 5779ab31da Updates for architecture rules:
1)  Added new rules
  2)  Refactored architecture rules to enhance readability
  3)  Added architecture rules to rule_list
2017-09-04 20:21:54 -05:00