
casex(State)
2'b01:
begin
read_in
if(ctrl_byte==w7||ctrl_byte==w6||ctrl_byte==w5
||ctrl_byte==w4||ctrl_byte==w3||ctrl_byte==w2
||ctrl_byte==w1||ctrl_byte==w0)
begin
State = 2'b10
write_to_eeprm //写 *** 作
end
else
State = 2'b00
end
这个错误表示你没有"write_to_eeprom"的标签(label),也就是说,你在代码中没有设置这个名字的标签,标签的设置方式
begin:write_to_eeprom
// coding here
end
这里的write_to_eeprom就是iyige标签,disable的意思就是禁止执行该begin--end块的内容
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)