vhdl-style-guide/docs/loop_statement_rules.rst

39 lines
429 B
ReStructuredText

.. include:: icons.rst
Loop Statement Rules
--------------------
loop_statement_300
##################
|phase_4| |error| |indent|
This rule checks the indentation of the **loop** keyword.
**Violation**
.. code-block:: vhdl
fifo_proc : process () is
begin
loop
end loop;
end process;
**Fix**
.. code-block:: vhdl
fifo_proc : process () is
begin
loop
end loop;
end process;