`timescale 1ns/1ns module triffic_light ( input rst_n, //异位复位信号,低电平有效 input clk, //时钟信号 input pass_request, output wire[7:0]clock, output reg red, output reg yellow, output reg green ); //用状态机处理: reg [2:0] current_state,next_state; always@(posedge clk or negedge rst_n) if(!rst_n) current_state <=...