用状态机来做 `timescale 1ns/1ns module JC_counter( input clk , input rst_n, output reg [3:0] Q ); parameter s0=0,s1=1,s2=2,s3=3,s4=4,s5=5,s6=6,s7=7; reg [2:0] state,nextstate; always@(posedge clk or negedge rst_n) if(!rst_n) state<...