D
dipesh.trivedi
Guest
hi friends,
I want to include some delay under the if statement.
the code is like this
if (UARTGPIO_CODE_F4 == 1'b1)
begin
#200 TXD_d = 1'b1;
RXD_d = 1'b1;
RTS_d = 1'b0;
CTS_d = 1'b0;
#50 TXD_d = 1'b0;
RXD_d = 1'b0;
RTS_d = 1'b1;
CTS_d = 1'b1;
end
and i am getting error from compiler which are "Expecting the keyword
'end' [12.1.3(IEEE 2001)]."
can you suggest me how can i add delay in if statement...
waiting for your reply...
I want to include some delay under the if statement.
the code is like this
if (UARTGPIO_CODE_F4 == 1'b1)
begin
#200 TXD_d = 1'b1;
RXD_d = 1'b1;
RTS_d = 1'b0;
CTS_d = 1'b0;
#50 TXD_d = 1'b0;
RXD_d = 1'b0;
RTS_d = 1'b1;
CTS_d = 1'b1;
end
and i am getting error from compiler which are "Expecting the keyword
'end' [12.1.3(IEEE 2001)]."
can you suggest me how can i add delay in if statement...
waiting for your reply...