程序:
addr_latch_Proc: process ( MCU_ALE,MCU_ALE_r)
begin
if (MCU_ALE='0' and MCU_ALE_r='1') then
A_latch <= RBR;
elsif (MCU_ALE='1'and MCU_ALE_r='0') then
CE_29040<='0';
end if ;
if (MCU_RD='0' and MCU_RD_r='1')then
RBR<="ZZZZZZZZ" ;
elsif (MCU_RD='1' and MCU_RD_r='0') then
CE_29040<='1';
RBR <=(others => '0');
end if ;
end processaddr_latch_Proc;
综合后:
WARNING:Xst:638 - in unit eeprom_rw Conflict on KEEP property on signal Mtridata_rbr<5> and Mtridata_rbr<7>, Mtridata_rbr<7> signal will be lost.
WARNING:Xst:638 - in unit eeprom_rw Conflict on KEEP property on signal Mtridata_rbr<5> and Mtridata_rbr<6>, Mtridata_rbr<6> signal will be lost.
还是报同样的警告
我是这样改的:
addr_latch_Proc: process ( MCU_ALE,MCU_ALE_r)
begin
if (MCU_ALE='0' and MCU_ALE_r='1') then
A_latch <= RBR;
elsif (MCU_ALE='1'and MCU_ALE_r='0') then
CE_29040<='0';
end if ;
end processaddr_latch_Proc;
RBR_block_Proc: process (MCU_ALE,MCU_RD_r)
begin
if (MCU_RD='0' and MCU_RD_r='1')then
RBR<="ZZZZZZZZ" ;
elsif (MCU_RD='1' and MCU_RD_r='0') then
CE_29040<='1';
RBR <=(others => '0');
end if ;
end process RBR_block_Proc ;