Verilog for迴圈範例1

reg[31:0]matrix[8:0];
always@(posedge clk)begin
  if(reset)
    for(idx=0; idx <9; idx = idx +1)begin
      matrix[idx] <= 0;
    end
end
arrow
arrow
    文章標籤
    for迴圈 verilog
    全站熱搜

    JL8051 發表在 痞客邦 留言(0) 人氣()