你在定义p_in的时候是in std_logic_vector(4 downto 0),即这个端口只能作输入,不能作输出,更不能对其进行赋值,这一点和计算机上的编程语言很不一样,它在电路中仅仅相当于是一个输入用的引脚。改正方法有两个:1、将in改为buffer,这样此端口可以进行赋值,但不能作输出 2、将in改为inout这样既可作输入又可作输出
Error (10568): VHDL error at mylab2.vhd(23): can't write to interface object "decode_out" of mode IN The code looks like this library ieee; use ieee.std_logic_1164.all; ENTITY mylab2 IS PORT ( input_select : IN STD_LOGIC; a_in, b_in :...
回答:匿名 错误(10568):VHDL错误在YH.vhd(21):无法写入接口对象"价格"的模式在 2013-05-23 12:23:18 回答:匿名错误(10568) : VHDL错误在yh.vhd( 21) : 不能给接口对象“价格”写方式 2013-05-23 12:24:58 回答:匿名错误(10568): 在 yh.vhd(21) VHDL 错误: 无法写入接口对象的模式中的"价格" 20...
Error (10568): VHDL error at mylab2.vhd(23): can't write to interface object "decode_out" of mode IN The code looks like this library ieee; use ieee.std_logic_1164.all; ENTITY mylab2 IS PORT ( input_select : IN STD_LOGIC; a_in, b_in : IN STD_LOGIC_VECTO...
Error (10568): VHDL error at mylab2.vhd(23): can't write to interface object "decode_out" of mode IN The code looks like this library ieee; use ieee.std_logic_1164.all; ENTITY mylab2 IS PORT ( input_select : IN STD_LOGIC; a_in, b_in : IN STD_LOGIC_VECTOR(3 ...