`timescale 1ns/1ns module s_to_p( input clk , input rst_n , input valid_a , input data_a , output reg ready_a , output reg valid_b , output reg [5:0] data_b ); reg [5:0] temp;//数据寄存 reg [2:0] cnt;//计数 //valid_a与ready_a有效时,数据移位寄存 always@(posedge clk or negedge rst_n) begi...