|
| 1 | +.. include:: includes.rst |
| 2 | + |
| 3 | +Interface Incomplete Type Declaration Rules |
| 4 | +------------------------------------------- |
| 5 | + |
| 6 | +interface_incomplete_type_declaration_500 |
| 7 | +######################################### |
| 8 | + |
| 9 | +|phase_6| |error| |case| |case_keyword| |
| 10 | + |
| 11 | +This rule checks the **type** keyword has proper case. |
| 12 | + |
| 13 | +|configuring_uppercase_and_lowercase_rules_link| |
| 14 | + |
| 15 | +**Violation** |
| 16 | + |
| 17 | +.. code-block:: vhdl |
| 18 | +
|
| 19 | + generic ( |
| 20 | + TYPE generic_data_type |
| 21 | +
|
| 22 | +**Fix** |
| 23 | + |
| 24 | +.. code-block:: vhdl |
| 25 | +
|
| 26 | + generic ( |
| 27 | + type generic_data_type |
| 28 | +
|
| 29 | +interface_incomplete_type_declaration_501 |
| 30 | +######################################### |
| 31 | + |
| 32 | +|phase_6| |error| |case| |case_name| |
| 33 | + |
| 34 | +This rule checks the type name has proper case. |
| 35 | + |
| 36 | +|configuring_uppercase_and_lowercase_rules_link| |
| 37 | + |
| 38 | +**Violation** |
| 39 | + |
| 40 | +.. code-block:: vhdl |
| 41 | +
|
| 42 | + generic ( |
| 43 | + type GENERIC_DATA_TYPE |
| 44 | +
|
| 45 | +**Fix** |
| 46 | + |
| 47 | +.. code-block:: vhdl |
| 48 | +
|
| 49 | + generic ( |
| 50 | + type generic_data_type |
| 51 | +
|
| 52 | +interface_incomplete_type_declaration_600 |
| 53 | +######################################### |
| 54 | + |
| 55 | +|phase_7| |disabled| |error| |unfixable| |naming| |
| 56 | + |
| 57 | +This rule checks for valid prefixes of type names. |
| 58 | + |
| 59 | +.. NOTE:: The default prefix is *gt_*. |
| 60 | + |
| 61 | +|configuring_prefix_and_suffix_rules_link| |
| 62 | + |
| 63 | +**Violation** |
| 64 | + |
| 65 | +.. code-block:: vhdl |
| 66 | +
|
| 67 | + generic ( |
| 68 | + type generic_data_type |
| 69 | +
|
| 70 | +**Fix** |
| 71 | + |
| 72 | +.. code-block:: vhdl |
| 73 | +
|
| 74 | + generic ( |
| 75 | + type gt_generic_data_type |
| 76 | +
|
| 77 | +interface_incomplete_type_declaration_601 |
| 78 | +######################################### |
| 79 | + |
| 80 | +|phase_7| |disabled| |error| |unfixable| |naming| |
| 81 | + |
| 82 | +This rule checks for valid suffixes of type names. |
| 83 | + |
| 84 | +.. NOTE:: The default prefix is *_gt*. |
| 85 | + |
| 86 | +|configuring_prefix_and_suffix_rules_link| |
| 87 | + |
| 88 | +**Violation** |
| 89 | + |
| 90 | +.. code-block:: vhdl |
| 91 | +
|
| 92 | + generic ( |
| 93 | + type generic_data_type |
| 94 | +
|
| 95 | +**Fix** |
| 96 | + |
| 97 | +.. code-block:: vhdl |
| 98 | +
|
| 99 | + generic ( |
| 100 | + type generic_data_type_gt |
0 commit comments