/* D 触发器(D Flip-Flop) Verilog */ module DFF ( input wire clk, input wire rst_n, // 低电平复位 input wire d, output reg q ); always @(posedge clk or negedge rst_n) begin if (!rst_n) q <= 0; else q <= d; end endmodule
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.