当前位置:首页 > 资讯 > 正文

portmap下载 在process开始之前申明你

  在process开始之前申明你想调用的模块,然后用的时候使用port map 就可以了。

  entity D is

  port(P1:in bit;

  P2:out bit);

  end entity D;

  architecture structural of D is

  component A is

  port(a1,a2,a3:in bit;

  a4:out bit);

  end component A;

  begin

  Inst1: A port map (a1=>P1,

  a4=>P2);

  我不会~~~但还是要微笑~~~:)

最新文章