1、异步复位,同步释放
`timescale 1ns / 1ps
module arst_srel(
input clk,
input rst_n,
input a,
output reg b
);
reg rst_n_dy1,sys_rst_n;
always @(posedge clk or negedge rst_n) begin
if(!rst_n)begin
rst_n_dy1
关注
打赏