U
Urban Stadler
Guest
hi
i have the following problem:
i have written some code and part of it is:
RAM_CONTROL_COMB: process(Sensor_Data_Ready, RAM_BHE, RAM_BLE, Sensor_Data)
begin
RAM_Data <= "ZZZZZZZZZZZZZZZZ";
s_RAM_Address_Count_Sensor <= '0';
if Sensor_Data_Ready'event and Sensor_Data_Ready = '1' then
if RAM_BHE = '0' then
RAM_Data(15 downto 8) <= Sensor_Data;
elsif RAM_BLE = '0' then
RAM_Data(7 downto 0) <= Sensor_Data;
end if;
end if;
if RAM_BLE'event and RAM_BLE = '1' then
s_RAM_Address_Count_Sensor <= '1';
end if;
end process RAM_CONTROL_COMB;
i get the following error message:
RROR:Xst:827 - D:/CodeGeeks/Elektronik/VHDL/FingerTip/FgTp.vhdl line
191: Signal RAM_Data<7> cannot be synthesized, bad synchronous
description.
line 191 is the declaration of the process. the simulation works. i can get
rid of the error if i put the two lines
RAM_Data <= "ZZZZZZZZZZZZZZZZ";
s_RAM_Address_Count_Sensor <= '0';
at the verry end of the process.
why does this make a difference. after that the simulation doesnt work
anymore.
thanks for any help
urban
i have the following problem:
i have written some code and part of it is:
RAM_CONTROL_COMB: process(Sensor_Data_Ready, RAM_BHE, RAM_BLE, Sensor_Data)
begin
RAM_Data <= "ZZZZZZZZZZZZZZZZ";
s_RAM_Address_Count_Sensor <= '0';
if Sensor_Data_Ready'event and Sensor_Data_Ready = '1' then
if RAM_BHE = '0' then
RAM_Data(15 downto 8) <= Sensor_Data;
elsif RAM_BLE = '0' then
RAM_Data(7 downto 0) <= Sensor_Data;
end if;
end if;
if RAM_BLE'event and RAM_BLE = '1' then
s_RAM_Address_Count_Sensor <= '1';
end if;
end process RAM_CONTROL_COMB;
i get the following error message:
RROR:Xst:827 - D:/CodeGeeks/Elektronik/VHDL/FingerTip/FgTp.vhdl line
191: Signal RAM_Data<7> cannot be synthesized, bad synchronous
description.
line 191 is the declaration of the process. the simulation works. i can get
rid of the error if i put the two lines
RAM_Data <= "ZZZZZZZZZZZZZZZZ";
s_RAM_Address_Count_Sensor <= '0';
at the verry end of the process.
why does this make a difference. after that the simulation doesnt work
anymore.
thanks for any help
urban