cadtopics.pptVIP

  • 7
  • 0
  • 约2.22万字
  • 约 47页
  • 2016-10-06 发布于天津
  • 举报
cadtopics

Verilog - * 6 always @(posedge clk) case (state) zero: begin out = 0; if (in) state = one1; else state = zero; end one1: if (in) begin state = two1s; out = 1; end else begin state = zero; out = 0; end two1s: if (in) begin state = two1s; out = 1; end else begin state = zero; out = 0; end default: begin state = zero; out = 0; end endcase endmodule This is confusing: the output does not change until the next clock cycle Single-always Moore Machine (Not Recommended!) All outp

文档评论(0)

1亿VIP精品文档

相关文档