microelectronics
Member level 1
else if( SW[9:7] == 3'b010 ) // STOP
begin
if( KEY[1]==0 && KEY[0]==0 )
begin
E = 6;
P = 0;
O = 1;
T = 2;
S = 3;
go = 2'b11;
KEY[0]<=1;
KEY[1]<=1;
end
pls help..what should i do to make this work?
the error that comes out says this :
Error (10137): Verilog HDL Procedural Assignment error at display1.v(63): object "KEY" on left-hand side of assignment must have a variable data type
begin
if( KEY[1]==0 && KEY[0]==0 )
begin
E = 6;
P = 0;
O = 1;
T = 2;
S = 3;
go = 2'b11;
KEY[0]<=1;
KEY[1]<=1;
end
pls help..what should i do to make this work?
the error that comes out says this :
Error (10137): Verilog HDL Procedural Assignment error at display1.v(63): object "KEY" on left-hand side of assignment must have a variable data type