vhdl-style-guide/tests/styles/code_examples/comments.vhd

39 lines
520 B
VHDL

--! Comment 1
library ieee;
--! Comment 1.5
use ieee.std_logic_1164.all;
--! Comment 2
library ieee;
--! Comment 2.5
use ieee.std_logic_1164.all;
--! Comment 3
--! Comment 3.5
use ieee.std_logic_1164.all;
--! Comment 4
--! Comment 5
architecture rtl of fifo is
begin
some_label : case D_DEPTH generate
-- When comment
-- When comment
when 0 =>
-- Comment 10
b <= 0;
-- When Comment 2
-- When Comment 2
when 1 =>
end generate some_label;
end architecture rtl;