Commit Graph

37 Commits

Author SHA1 Message Date
Jeremiah Leary 5647dbcb35
Issue#911: Improving detection of unary logical operators. (#1046)
* Issue#911:  Improving detection of unary logical operators.

* Adding descriminator for keywords before unary operator.

* Fixing style issues.
2024-07-11 07:26:01 -05:00
Jeremiah Leary ba8bfa23e8
Issue#1188: single comments with */ would be incorrectly classified and fail to parse. (#1191) 2024-07-09 20:36:59 -05:00
Jeremiah Leary 872884d33c
Issue#1168: Fixing mis-classification formal parameters in procedure specifications. (#1169) 2024-05-03 07:14:54 -05:00
Alon Bar-Lev baf22da660 style: apply end-of-file-fixer
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev c22a86025f style: apply black
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev 5b4bae04aa style: apply isort
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev b8c49b5946 style: python encoding
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev 6aca7f56d5 style: remove trailing spaces
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev f9c2653e54 style: apply codespell
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:34 +02:00
Alon Bar-Lev 8f9dc637ee tests: move out of vsg
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-23 18:48:35 +02:00
Jeremiah Leary a6ea0758a8 Restructered directory using:
http://python-packaging.readthedocs.io/en/latest/index.html

as a reference
2017-09-29 21:57:28 -05:00
Jeremiah Leary c701bb76de Updates for package rules:
1)  Added package rules
  2)  Updated vhdlFile when running against examples
  3)  Bare bones package body checks
2017-09-29 18:34:39 -05:00
Jeremiah Leary 9ff53e0412 Updates for package rules:
1)  Added package attributes to line class
  2)  Added package attribute assignments to vhdlFile
  3)  Added indent tests to case, component and if rules
2017-09-29 10:54:35 -05:00
Jeremiah Leary b5192c3395 Updates to instantion rules:
1)  Added rules for generic maps
2017-09-28 09:13:00 -05:00
Jeremiah Leary 25b2cead27 Updates for rules:
1)  Updated additional rules after running against examples.
2017-09-23 17:13:27 -05:00
Jeremiah Leary 74928d9914 Updates to rules:
1)  Updated rules after running against examples
2017-09-23 16:02:39 -05:00
Jeremiah Leary 6ba5ca2984 Updates for instantiation rules:
1)  Initial set of rules for instantiations
2017-09-23 10:15:47 -05:00
Jeremiah Leary 7225da8d71 Updates to port rules:
1)  Made port rules work on component port maps
2017-09-22 11:44:33 -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 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 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 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 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 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 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 1a7cd0aaa7 Updates for test structure:
1)  Updated test files to run at the top level using the following command:

  python -m unittest discover

NOTE:  More tests need to be converted to the new method.
When they are converted, they will be updated to match the new test structure.
2017-09-10 19:53:24 -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