blob: bc282985a04b83b4d9d1e821ac41df346c8c342a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
library ieee;
use ieee.std_logic_1164.all;
entity submodule is
port (
clk : in std_logic;
a : in std_logic_vector(7 downto 0);
b : out std_logic_vector(7 downto 0)
);
end submodule;
architecture rtl of submodule is
begin
process(clk)
begin
if rising_edge(clk) then
b <= a;
end if;
end process;
end rtl;
|