欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標題: VHDL錯誤:Warning: ELAB1_0026:x: There is no default binding for component [打印本頁]

作者: 廢紙    時間: 2019-4-1 19:13
標題: VHDL錯誤:Warning: ELAB1_0026:x: There is no default binding for component
調用的時候一直Warning: ELAB1_0026: register_8_1.vhd : (48, 0): There is no default binding for component "dff". (Port "A" is not on the entity).
如果改用位置調用會報錯:代碼如下:library IEEE;
use IEEE.STD_LOGIC_1164.all;
use work.all;
entity register_8 is
  port(
   clk,clr,A: in STD_LOGIC;
   Z : out STD_LOGIC_VECTOR(7 downto 0)
      );
end register_8;
--}} End of automatically maintained section
architecture rtl of register_8 is
component dff
port(clk,clr,A:in STD_LOGIC;
Z : out STD_LOGIC);
end component;

signal s:STD_LOGIC_VECTOR(8 downto 0);
begin
  s(0)<=A;
  gl:for i IN 0 to 8 generate
   dffx:dff port map(clk=>clk,clr=>clr,s(i)=>d,s(i+1)=>q);
  end generate;
Z<=s(8 downto 1);
end rtl;
報錯如下:
# Error: COMP96_0078: register_8_1.vhd : (48, 46): Unknown identifier "d".
# Error: COMP96_0078: register_8_1.vhd : (48, 56): Unknown identifier "q".
# Error: COMP96_0078: register_8_1.vhd : (48, 40): Unknown identifier "s".
# Error: COMP96_0078: register_8_1.vhd : (48, 48): Unknown identifier "s".
# Error: COMP96_0112: register_8_1.vhd : (48, 40): "s" does not match the formal name.
# Error: COMP96_0207: register_8_1.vhd : (48, 0): No actual specified for local port "A".

regist.png (30.2 KB, 下載次數: 69)

regist.png

dff.png (25.17 KB, 下載次數: 54)

dff.png

作者: FuGui6688    時間: 2023-5-30 16:08
問題出在哪里,解決了嗎?




歡迎光臨 (http://m.raoushi.com/bbs/) Powered by Discuz! X3.1