首页 > 代码库 > Verilog经典输入控制/激励信号模板1
Verilog经典输入控制/激励信号模板1
reg [3:0]i; always @ ( posedge CLOCK or negedge RESET ) if( !RESET ) begin i <= 4‘d0; Start_Sig <= 1‘b0; WrData <= 8‘d0; end else case( i ) 0: if( Done_Sig ) begin Start_Sig <= 1‘b0; i <= i + 1‘b1; end else begin WrData <= 8‘d8; Start_Sig <= 1‘b1; end 1: if( Done_Sig ) begin Start_Sig <= 1‘b0; i <= i + 1‘b1; end else begin WrData <= 8‘d9; Start_Sig <= 1‘b1; end 2: if( Done_Sig ) begin Start_Sig <= 1‘b0; i <= i + 1‘b1; end else begin WrData <= 8‘d10; Start_Sig <= 1‘b1; end 3: begin i <= i; end endcase
Verilog经典输入控制/激励信号模板1
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。