quartus编译错误
时间:10-02
整理:3721RD
点击:
代码如下
错误显示 object a,b,c is used but not declared
- --2shuruyufeimen
- library ieee;
- use ieee.std_logic_1164.all;
- entity nand2 is
- port(a,b: in std_logic;
- y:out std_logic);
- end entity nand2;
- architecture nand22 of nand2 is
- begin
- y =ain,b>=bin,y>=e);
- u2:nand2 port map(a>=ain,b>=cin,y>=f);
- u3:nand2 port map(a>=bin,b>=cin,y>=g);
- u4:nand3 port map(a>=e,b>=f,c>=g,y>=yout);
- end architecture nand44;
错误显示 object a,b,c is used but not declared
写的是三输入多数表决器
这个代码风格很重要,不要出现拼音
