以下の内容はhttps://shuzo-kino.hateblo.jp/entry/2018/05/04/235346より取得しました。


VHDLのモジュール定義

entity、architectureなどVHDLには色々モジュール定義があります。
今回はコレの私的まとめです

実際のところ

内部的なモジュールがentity

entity mymodule is
  Port ( input1 : in STD_LOGIC_VECTOR (3 downto 0);
  output1 : out STD_LOGIC_VECTOR (3 downto 0));
end mymodule;

entityをうけて、振る舞いを定義するのがarchitecture

architecture Behavioral of mymodule is
  begin
  output1 <= input1;
end Behavioral;

一方、componentは外部的なモジュールを定義

component:
COMPONENT mymodule
  PORT(
    input1 : IN std_logic_vector(3 downto 0);
    output1 : OUT std_logic_vector(3 downto 0));
END COMPONENT;



以上の内容はhttps://shuzo-kino.hateblo.jp/entry/2018/05/04/235346より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14