求解vhdl问题,先行谢过各位大神
警告提示Warning(10631):VHDLProcessStatementwarningatCONTROLER.vhd(25):inferringlatch(es)f...
警告提示Warning (10631): VHDL Process Statement warning at CONTROLER.vhd(25): inferring latch(es) for signal or variable "FHZ_BUFF", which holds its previous value in one or more paths through the process
请问要怎么才能消除警告
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.STD_LOGIC_ARITH.ALL;
USE IEEE.STD_LOGIC_UNSIGNED.ALL;
ENTITY CONTROLER IS
PORT(F1HZ:IN STD_LOGIC;
F10HZ:IN STD_LOGIC;
F100HZ:IN STD_LOGIC;
OVER_IN :IN STD_LOGIC_VECTOR(2 DOWNTO 0);
F_HZ : OUT STD_LOGIC;
LIGHT : OUT STD_LOGIC;
DP:OUT STD_LOGIC_VECTOR(7 DOWNTO 0));
END CONTROLER;
ARCHITECTURE ONE OF CONTROLER IS
signal DOT: std_logic_VECTOR(7 downto 0);
SIGNAL TME_BUFF:STD_LOGIC_VECTOR(2 DOWNTO 0);
SIGNAL FHZ_BUFF:STD_LOGIC;
SIGNAL LIGHT_BUFF:STD_LOGIC;
全部程序发不上来,TOT 展开
请问要怎么才能消除警告
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.STD_LOGIC_ARITH.ALL;
USE IEEE.STD_LOGIC_UNSIGNED.ALL;
ENTITY CONTROLER IS
PORT(F1HZ:IN STD_LOGIC;
F10HZ:IN STD_LOGIC;
F100HZ:IN STD_LOGIC;
OVER_IN :IN STD_LOGIC_VECTOR(2 DOWNTO 0);
F_HZ : OUT STD_LOGIC;
LIGHT : OUT STD_LOGIC;
DP:OUT STD_LOGIC_VECTOR(7 DOWNTO 0));
END CONTROLER;
ARCHITECTURE ONE OF CONTROLER IS
signal DOT: std_logic_VECTOR(7 downto 0);
SIGNAL TME_BUFF:STD_LOGIC_VECTOR(2 DOWNTO 0);
SIGNAL FHZ_BUFF:STD_LOGIC;
SIGNAL LIGHT_BUFF:STD_LOGIC;
全部程序发不上来,TOT 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询