Updates for issue #540:

Adding icons to denote phases, severity levels and disabled.
This commit is contained in:
Jeremiah Leary 2021-03-31 21:26:57 -05:00
parent f638559f45
commit 2954d95115
16 changed files with 416 additions and 15 deletions

View File

@ -1,11 +1,12 @@
.. include:: icons.rst
After Rules
-----------
.. NOTE:: All rules in this group are disabled by default.
Use a configuration to enable them.
.. _after_001:
after_001
#########
after_001 |phase_1| |disabled| |error|
######################################
This rule checks for **after x** in signal assignments in clock processes.
@ -48,8 +49,10 @@ This rule checks for **after x** in signal assignments in clock processes.
The **units** is a valid time unit: ms, us, ns, ps etc... Default is *ns*.
after_002
#########
.. _after_002:
after_002 |phase_5| |disabled| |error|
######################################
This rule checks the *after* keywords are aligned in a clock process.
Refer to the section `Configuring Keyword Alignment Rules <configuring.html#configuring-keyword-alignment-rules>`_ for information on changing the configurations.
@ -84,8 +87,10 @@ Refer to the section `Configuring Keyword Alignment Rules <configuring.html#conf
end if;
end process clk_proc;
after_003
#########
.. _after_003:
after_003 |phase_1| |disabled| |error|
######################################
This rule checks the *after* keywords do not exist in the reset portion of a clock process.

View File

@ -225,6 +225,7 @@ Configure the indent size for all rules by setting the **global** attribute.
}
.. include:: multiple_configurations.rst
.. include:: configuring_disabled_rules.rst
.. include:: configuring_case.rst
.. include:: configuring_prefix_suffix_rules.rst
.. include:: configuring_number_of_signals.rst

View File

@ -0,0 +1,20 @@
Configuring Disabled Rules
--------------------------
There are several rules which are disabled by default.
These are typically naming convention rules.
They can be enabled by setting the `disable` option to `False` in a configuration.
.. code-block:: yaml
rule :
<rule_id>:
disable: False
Rules Which are Disabled by Default
###################################
* :any:`after_001`
* :any:`after_002`
* :any:`after_003`

50
docs/icons.rst Normal file
View File

@ -0,0 +1,50 @@
.. |disabled| image:: img/disabled_icon.svg
:height: 25px
:width: 25px
:target: :ref:`configuring_disabled_rules`
.. |warning| image:: img/warning_icon.svg
:height: 25px
:width: 25px
:target: rule_severity.html
.. |error| image:: img/error_icon.svg
:height: 25px
:width: 25px
:target: rule_severity.html
.. |phase_1| image:: img/phase_1_icon.svg
:height: 25px
:width: 25px
:target: phases.html
.. |phase_2| image:: img/phase_2_icon.svg
:height: 25px
:width: 25px
:target: phases.html
.. |phase_3| image:: img/phase_3_icon.svg
:height: 25px
:width: 25px
:target: phases.html
.. |phase_4| image:: img/phase_4_icon.svg
:height: 25px
:width: 25px
:target: phases.html
.. |phase_5| image:: img/phase_5_icon.svg
:height: 25px
:width: 25px
:target: phases.html
.. |phase_6| image:: img/phase_6_icon.svg
:height: 25px
:width: 25px
:target: phases.html
.. |phase_7| image:: img/phase_7_icon.svg
:height: 25px
:width: 25px
:target: phases.html

31
docs/img/disabled_icon.svg Executable file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export disabled_icon.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="0.506944in" height="0.506944in"
viewBox="0 0 36.5 36.5" xml:space="preserve" color-interpolation-filters="sRGB" class="st3">
<v:documentProperties v:langID="1033" v:viewMarkup="false"/>
<style type="text/css">
<![CDATA[
.st1 {fill:#7f7f7f;stroke:#c7c8c8;stroke-width:0.25}
.st2 {fill:#feffff;font-family:Calibri;font-size:1.99999em;font-weight:bold}
.st3 {fill:none;fill-rule:evenodd;font-size:12px;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
]]>
</style>
<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
<title>Page-1</title>
<v:pageProperties v:drawingScale="1" v:pageScale="1" v:drawingUnits="0" v:shadowOffsetX="9" v:shadowOffsetY="-9"/>
<g id="shape4-1" v:mID="4" v:groupContext="shape" transform="translate(0.25,-0.25)">
<title>Square.4</title>
<desc>D</desc>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(15):26"/>
</v:userDefs>
<v:textBlock v:margins="rect(4,4,4,4)"/>
<v:textRect cx="18" cy="18.5" width="36.01" height="36"/>
<rect x="0" y="0.499999" width="36" height="36" rx="4.5" ry="4.5" class="st1"/>
<text x="10.44" y="25.7" class="st2" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>D</text> </g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

31
docs/img/error_icon.svg Executable file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export error_icon.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="0.506944in" height="0.506944in"
viewBox="0 0 36.5 36.5" xml:space="preserve" color-interpolation-filters="sRGB" class="st3">
<v:documentProperties v:langID="1033" v:viewMarkup="false"/>
<style type="text/css">
<![CDATA[
.st1 {fill:#ff0000;stroke:#c7c8c8;stroke-width:0.25}
.st2 {fill:#feffff;font-family:Calibri;font-size:1.99999em;font-weight:bold}
.st3 {fill:none;fill-rule:evenodd;font-size:12px;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
]]>
</style>
<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
<title>Page-1</title>
<v:pageProperties v:drawingScale="1" v:pageScale="1" v:drawingUnits="0" v:shadowOffsetX="9" v:shadowOffsetY="-9"/>
<g id="shape3-1" v:mID="3" v:groupContext="shape" transform="translate(0.25,-0.25)">
<title>Square.3</title>
<desc>E</desc>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(15):26"/>
</v:userDefs>
<v:textBlock v:margins="rect(4,4,4,4)"/>
<v:textRect cx="18" cy="18.5" width="36.01" height="36"/>
<rect x="0" y="0.499999" width="36" height="36" rx="4.5" ry="4.5" class="st1"/>
<text x="12.15" y="25.7" class="st2" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>E</text> </g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

31
docs/img/phase_1_icon.svg Executable file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export phase_1_icon.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="0.506944in" height="0.506944in"
viewBox="0 0 36.5 36.5" xml:space="preserve" color-interpolation-filters="sRGB" class="st3">
<v:documentProperties v:langID="1033" v:viewMarkup="false"/>
<style type="text/css">
<![CDATA[
.st1 {fill:#4672c4;stroke:#c7c8c8;stroke-width:0.25}
.st2 {fill:#feffff;font-family:Calibri;font-size:1.99999em;font-weight:bold}
.st3 {fill:none;fill-rule:evenodd;font-size:12px;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
]]>
</style>
<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
<title>Page-1</title>
<v:pageProperties v:drawingScale="1" v:pageScale="1" v:drawingUnits="0" v:shadowOffsetX="9" v:shadowOffsetY="-9"/>
<g id="shape5-1" v:mID="5" v:groupContext="shape" transform="translate(0.25,-0.25)">
<title>Square.5</title>
<desc>1</desc>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(15):26"/>
</v:userDefs>
<v:textBlock v:margins="rect(4,4,4,4)"/>
<v:textRect cx="18" cy="18.5" width="36.01" height="36"/>
<rect x="0" y="0.499999" width="36" height="36" rx="4.5" ry="4.5" class="st1"/>
<text x="11.92" y="25.7" class="st2" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>1</text> </g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

31
docs/img/phase_2_icon.svg Executable file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export phase_2_icon.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="0.506944in" height="0.506944in"
viewBox="0 0 36.5 36.5" xml:space="preserve" color-interpolation-filters="sRGB" class="st3">
<v:documentProperties v:langID="1033" v:viewMarkup="false"/>
<style type="text/css">
<![CDATA[
.st1 {fill:#4672c4;stroke:#c7c8c8;stroke-width:0.25}
.st2 {fill:#feffff;font-family:Calibri;font-size:1.99999em;font-weight:bold}
.st3 {fill:none;fill-rule:evenodd;font-size:12px;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
]]>
</style>
<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
<title>Page-1</title>
<v:pageProperties v:drawingScale="1" v:pageScale="1" v:drawingUnits="0" v:shadowOffsetX="9" v:shadowOffsetY="-9"/>
<g id="shape6-1" v:mID="6" v:groupContext="shape" transform="translate(0.25,-0.25)">
<title>Square.6</title>
<desc>2</desc>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(15):26"/>
</v:userDefs>
<v:textBlock v:margins="rect(4,4,4,4)"/>
<v:textRect cx="18" cy="18.5" width="36.01" height="36"/>
<rect x="0" y="0.499999" width="36" height="36" rx="4.5" ry="4.5" class="st1"/>
<text x="11.92" y="25.7" class="st2" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>2</text> </g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

31
docs/img/phase_3_icon.svg Executable file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export phase_3_icon.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="0.506944in" height="0.506944in"
viewBox="0 0 36.5 36.5" xml:space="preserve" color-interpolation-filters="sRGB" class="st3">
<v:documentProperties v:langID="1033" v:viewMarkup="false"/>
<style type="text/css">
<![CDATA[
.st1 {fill:#4672c4;stroke:#c7c8c8;stroke-width:0.25}
.st2 {fill:#feffff;font-family:Calibri;font-size:1.99999em;font-weight:bold}
.st3 {fill:none;fill-rule:evenodd;font-size:12px;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
]]>
</style>
<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
<title>Page-1</title>
<v:pageProperties v:drawingScale="1" v:pageScale="1" v:drawingUnits="0" v:shadowOffsetX="9" v:shadowOffsetY="-9"/>
<g id="shape7-1" v:mID="7" v:groupContext="shape" transform="translate(0.25,-0.25)">
<title>Square.7</title>
<desc>3</desc>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(15):26"/>
</v:userDefs>
<v:textBlock v:margins="rect(4,4,4,4)"/>
<v:textRect cx="18" cy="18.5" width="36.01" height="36"/>
<rect x="0" y="0.499999" width="36" height="36" rx="4.5" ry="4.5" class="st1"/>
<text x="11.92" y="25.7" class="st2" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>3</text> </g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

31
docs/img/phase_4_icon.svg Executable file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export phase_4_icon.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="0.506944in" height="0.506944in"
viewBox="0 0 36.5 36.5" xml:space="preserve" color-interpolation-filters="sRGB" class="st3">
<v:documentProperties v:langID="1033" v:viewMarkup="false"/>
<style type="text/css">
<![CDATA[
.st1 {fill:#4672c4;stroke:#c7c8c8;stroke-width:0.25}
.st2 {fill:#feffff;font-family:Calibri;font-size:1.99999em;font-weight:bold}
.st3 {fill:none;fill-rule:evenodd;font-size:12px;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
]]>
</style>
<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
<title>Page-1</title>
<v:pageProperties v:drawingScale="1" v:pageScale="1" v:drawingUnits="0" v:shadowOffsetX="9" v:shadowOffsetY="-9"/>
<g id="shape8-1" v:mID="8" v:groupContext="shape" transform="translate(0.25,-0.25)">
<title>Square.8</title>
<desc>4</desc>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(15):26"/>
</v:userDefs>
<v:textBlock v:margins="rect(4,4,4,4)"/>
<v:textRect cx="18" cy="18.5" width="36.01" height="36"/>
<rect x="0" y="0.499999" width="36" height="36" rx="4.5" ry="4.5" class="st1"/>
<text x="11.92" y="25.7" class="st2" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>4</text> </g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

31
docs/img/phase_5_icon.svg Executable file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export phase_5_icon.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="0.506944in" height="0.506944in"
viewBox="0 0 36.5 36.5" xml:space="preserve" color-interpolation-filters="sRGB" class="st3">
<v:documentProperties v:langID="1033" v:viewMarkup="false"/>
<style type="text/css">
<![CDATA[
.st1 {fill:#4672c4;stroke:#c7c8c8;stroke-width:0.25}
.st2 {fill:#feffff;font-family:Calibri;font-size:1.99999em;font-weight:bold}
.st3 {fill:none;fill-rule:evenodd;font-size:12px;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
]]>
</style>
<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
<title>Page-1</title>
<v:pageProperties v:drawingScale="1" v:pageScale="1" v:drawingUnits="0" v:shadowOffsetX="9" v:shadowOffsetY="-9"/>
<g id="shape9-1" v:mID="9" v:groupContext="shape" transform="translate(0.25,-0.25)">
<title>Square.9</title>
<desc>5</desc>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(15):26"/>
</v:userDefs>
<v:textBlock v:margins="rect(4,4,4,4)"/>
<v:textRect cx="18" cy="18.5" width="36.01" height="36"/>
<rect x="0" y="0.499999" width="36" height="36" rx="4.5" ry="4.5" class="st1"/>
<text x="11.92" y="25.7" class="st2" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>5</text> </g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

31
docs/img/phase_6_icon.svg Executable file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export phase_6_icon.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="0.506944in" height="0.506944in"
viewBox="0 0 36.5 36.5" xml:space="preserve" color-interpolation-filters="sRGB" class="st3">
<v:documentProperties v:langID="1033" v:viewMarkup="false"/>
<style type="text/css">
<![CDATA[
.st1 {fill:#4672c4;stroke:#c7c8c8;stroke-width:0.25}
.st2 {fill:#feffff;font-family:Calibri;font-size:1.99999em;font-weight:bold}
.st3 {fill:none;fill-rule:evenodd;font-size:12px;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
]]>
</style>
<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
<title>Page-1</title>
<v:pageProperties v:drawingScale="1" v:pageScale="1" v:drawingUnits="0" v:shadowOffsetX="9" v:shadowOffsetY="-9"/>
<g id="shape10-1" v:mID="10" v:groupContext="shape" transform="translate(0.25,-0.25)">
<title>Square.10</title>
<desc>6</desc>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(15):26"/>
</v:userDefs>
<v:textBlock v:margins="rect(4,4,4,4)"/>
<v:textRect cx="18" cy="18.5" width="36.01" height="36"/>
<rect x="0" y="0.499999" width="36" height="36" rx="4.5" ry="4.5" class="st1"/>
<text x="11.92" y="25.7" class="st2" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>6</text> </g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

31
docs/img/phase_7_icon.svg Executable file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export phase_7_icon.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="0.506944in" height="0.506944in"
viewBox="0 0 36.5 36.5" xml:space="preserve" color-interpolation-filters="sRGB" class="st3">
<v:documentProperties v:langID="1033" v:viewMarkup="false"/>
<style type="text/css">
<![CDATA[
.st1 {fill:#4672c4;stroke:#c7c8c8;stroke-width:0.25}
.st2 {fill:#feffff;font-family:Calibri;font-size:1.99999em;font-weight:bold}
.st3 {fill:none;fill-rule:evenodd;font-size:12px;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
]]>
</style>
<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
<title>Page-1</title>
<v:pageProperties v:drawingScale="1" v:pageScale="1" v:drawingUnits="0" v:shadowOffsetX="9" v:shadowOffsetY="-9"/>
<g id="shape11-1" v:mID="11" v:groupContext="shape" transform="translate(0.25,-0.25)">
<title>Square.11</title>
<desc>7</desc>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(15):26"/>
</v:userDefs>
<v:textBlock v:margins="rect(4,4,4,4)"/>
<v:textRect cx="18" cy="18.5" width="36.01" height="36"/>
<rect x="0" y="0.499999" width="36" height="36" rx="4.5" ry="4.5" class="st1"/>
<text x="11.92" y="25.7" class="st2" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>7</text> </g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

31
docs/img/warning_icon.svg Executable file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export warning_icon.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="0.506944in" height="0.506944in"
viewBox="0 0 36.5 36.5" xml:space="preserve" color-interpolation-filters="sRGB" class="st3">
<v:documentProperties v:langID="1033" v:viewMarkup="false"/>
<style type="text/css">
<![CDATA[
.st1 {fill:#ed7d31;stroke:#c7c8c8;stroke-width:0.25}
.st2 {fill:#feffff;font-family:Calibri;font-size:1.99999em;font-weight:bold}
.st3 {fill:none;fill-rule:evenodd;font-size:12px;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
]]>
</style>
<g v:mID="0" v:index="1" v:groupContext="foregroundPage">
<title>Page-1</title>
<v:pageProperties v:drawingScale="1" v:pageScale="1" v:drawingUnits="0" v:shadowOffsetX="9" v:shadowOffsetY="-9"/>
<g id="shape2-1" v:mID="2" v:groupContext="shape" transform="translate(0.25,-0.25)">
<title>Square</title>
<desc>W</desc>
<v:userDefs>
<v:ud v:nameU="visVersion" v:val="VT0(15):26"/>
</v:userDefs>
<v:textBlock v:margins="rect(4,4,4,4)"/>
<v:textRect cx="18" cy="18.5" width="36.01" height="36"/>
<rect x="0" y="0.499999" width="36" height="36" rx="4.5" ry="4.5" class="st1"/>
<text x="7.13" y="25.7" class="st2" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>W</text> </g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -1,24 +1,32 @@
.. include:: icons.rst
Length Rules
------------
These rules cover the length of lines in the VHDL file.
length_001
##########
.. _length_001:
length_001 |phase_7| |warning|
##############################
This rule checks the length of the line.
Refer to the section `Configuring Length Rules <configuring.html#configuring-length-rules>`_ for configuring this option.
length_002
##########
.. _length_002:
length_002 |phase_7| |warning|
##############################
This rule checks the length of a file.
Refer to the section `Configuring Length Rules <configuring.html#configuring-length-rules>`_ for configuring this option.
length_003
##########
.. _length_003:
length_003 |phase_7| |warning|
##############################
This rule check the length of a process statement.

View File

@ -36,7 +36,7 @@ Defining Severity Levels
------------------------
VSG supports user defined severity level.
Any new severity level will follow the same rules as the severity it is based on..
Any new severity level will follow the same rules as the severity it is based on.
It will be reported to the screen, but will not be reported in JUnit XML files and will not force an exit status of 1.
To create your own severity level, create a configuration which defines just the severity level following this format:
@ -76,3 +76,10 @@ Apply the defined severity levels by calling both configurations:
vsg -c severity.json rule_configuration.json -f fifo.vhd
Rules Which are Warnings by Default
###################################
* :any:`length_001`
* :any:`length_002`
* :any:`length_003`