Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

multiple constant drivers error

Hi,

I open this thread because I have an error on Quartus II (web edition) and I can't finf how debug them.

error name: " can't resolve multiple constant drivers for net "etat_suiv.ecriture1" at file *** "

So I need some help to debug the situation.

the architecture code is :


architecture Struct_LCD of LCD is 
type ETAT is ( ECRITURE1,ECRITURE2,ECRITURE3,ECRITURE4,VALIDATION1,VALIDATION2,VALIDATION3,VALIDATION4);
Signal etat_pres, etat_suiv : ETAT := ECRITURE1; 
begin
Process(clock)
begin
if(clock'event and clock = '1') then etat_suiv <= etat_pres;
end if;
end process;
Process(etat_pres)
begin
case etat_pres is
			
	when ECRITURE1 =>
	LCD_ON<='1';
	LCD_Data <= x"30";
	LCD_EN <= '1' ;	
	etat_suiv <=VALIDATION1;     
--if I delete the previous line the error disapear but the code dont work properly.
	
	when VALIDATION1 =>	
	LCD_EN <= '0' ;	
	etat_suiv <=ECRITURE2;
                
                .....
                ...

Thanks for your answer

18 Replies