33 lines
408 B
ReStructuredText
33 lines
408 B
ReStructuredText
.. include:: icons.rst
|
|
|
|
Wait Rules
|
|
----------
|
|
|
|
wait_001
|
|
########
|
|
|
|
|phase_4| |error|
|
|
|
|
This rule checks for indentation of the **wait** keyword.
|
|
Proper indentation enhances comprehension.
|
|
|
|
**Violation**
|
|
|
|
.. code-block:: vhdl
|
|
|
|
begin
|
|
|
|
wait for 10ns;
|
|
wait on a,b;
|
|
wait until a = '0';
|
|
|
|
**Fix**
|
|
|
|
.. code-block:: vhdl
|
|
|
|
begin
|
|
|
|
wait for 10ns;
|
|
wait on a,b;
|
|
wait until a = '0';
|