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

 找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 3549|回復: 1
打印 上一主題 下一主題
收起左側

VHDL錯誤:Warning: ELAB1_0026:x: There is no default binding for component

[復制鏈接]
跳轉到指定樓層
樓主
10黑幣
調用的時候一直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
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復

使用道具 舉報

沙發
ID:1080913 發表于 2023-5-30 16:08 | 只看該作者
問題出在哪里,解決了嗎?
回復

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術交流QQ群281945664

Powered by 單片機教程網

快速回復 返回頂部 返回列表