Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- always @(posedge clk) begin
- if(rst_n)
- Q <= D;
- end
- always @(*) begin
- if(!rst_n)
- Q <= 0;
- end
- endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement