请教一句代码是什么意思?
时间:10-02
整理:3721RD
点击:
网上找了一个I2C的代码,发现有一句没有赋值的语句是什么意思,如下红色部分
if(ff==0)
shift8_out;
else
begin
ff
<=0;
if(wf)
begin
sh8out_state
<=sh8out_bit7;
sh8out_buf[7:0]
<=data_w;
main_state
<=Data_write;
end
if(rf)
begin
head_buf
<=2'b10;
head_state
<=head_begin;
main_state
<=Read_start;
end
end
if(ff==0)
shift8_out;
else
begin
ff
<=0;
if(wf)
begin
sh8out_state
<=sh8out_bit7;
sh8out_buf[7:0]
<=data_w;
main_state
<=Data_write;
end
if(rf)
begin
head_buf
<=2'b10;
head_state
<=head_begin;
main_state
<=Read_start;
end
end
明白了,是个task
一个任务
