을 합성 할 수없는 13.1자일링스 VHDL 오류 827 : 신호 <name> 내가 VHDL 프로그래밍 초보자이고 내가 ISE 프로젝트 네비게이터를 사용하여 (소프트웨어는 푸시 버튼에 대한 비난) 다음과 같은 VHDL 코드를 합성하는 것을 시도하고있다
entity PBdebouncer is
Port (PB : in STD_LOGIC;
CLK : in STD_LOGIC;
reset : in STD_LOGIC;
PBdebounced : out STD_LOGIC);
end PBdebouncer;
architecture Behavioral of PBdebouncer is
begin
p1: process(CLK , PB , reset)
variable enable,count : integer range 0 to 100000 := 0;
begin
if(reset = '1') then
count := 0;
enable :=0;
elsif(CLK' event and CLK = '1') then
if (enable = 1) then
count := count + 1;
end if;
if(count = 99999) then
if(PB = '0') then
PBdebounced <= '0';
else
PBdebounced <= '0';
end if;
count := 0;
enable := 0;
end if;
count := count;
else
enable := 1;
end if;
end process;
end Behavioral;
하지만, 불행히도 다음과 같은 오류가 발생했습니다 :
ERROR:Xst:827 - ".../digital lab II 110/PBdebouncer/PBdebouncer.vhd" line 43: Signal enable cannot be synthesized, bad synchronous description. The description style you are using to describe a synchronous element (register, memory, etc.) is not supported in the current software release.
제게이 오류를 설명해 주시겠습니까?
에 관해서 < enable > 형에 나는 – Wazani
에 관해서 모든 것을 시험해 보았고,에 관해서 나는 이전의 코드에서 실수를 범한다 : 'if (PB ='0 ') then PBdebounced <='0 ' ; \t \t 기타 PBdebounced <= '1'; \t \t end if; ' –
Wazani
은 괄호에 관한 것입니다. 나는 그것들없이 코드를 시도했지만 여전히 같은 문제가 있습니다. – Wazani