|
大家好!我在调试一个程序时用到TASK语句来涵盖我的多个可运行事件,但是却出现多事件不支持合成,不知道是什么原因?请各位帮帮忙???谢谢!!
always @(posedge RESET)
@(posedge FETCH) ctl_cycle;
task ctl_cycle;
begin
//state 0—first Address Setup
{INC_PC,LOAD_ACC,LOAD_PC,MEN_WR,MEN_RD,LOAD_IR,HALT}=7'b0000000;
//state1—Instruction Fetch
@(posedge CLK) 问题就在这儿。显示错误是Error (10856): multiple event control statements not supported for synthesis
{INC_PC,LOAD_ACC,LOAD_PC,MEN_WR,MEN_RD,LOAD_IR,HALT}=7'b0000100;
。。。。。。
end
endtask |
|