localparam TB_IDLE = 4'b0010; localparam TB_WRITE = 4'b0110; localparam TB_READ = 4'b0111; localparam TB_WAIT = 4'b0101; ........ TB_READ: begin burst_cnt <= BURST_LEN_DIV2 - 1; if (app_af_not_afull_r) begin wr_addr_en <= 1'b1; wr_data_en <= 1'b0; // if finished with all 8 reads, proceed to next 8 writes if (state_cnt == 4'd7) begin state <= TB_WRITE; state_cnt <= 4'd0; end else state_cnt <= state_cnt + 1; end else begin state <= TB_WAIT; end TB_WAIT: begin if (app_af_not_afull_r) if (app_wdf_not_afull_r && app_af_not_afull_r) state <= TB_WRITE; else state <= TB_READ; else state <= TB_WAIT; end 就状态机中加了一个状态TB_WAIT,综合时报错 |
共1条
1/1 1 跳转至页
求大神解答一下unexpected token的问题
只看楼主 1楼
共1条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |