Advertisement
aidanozo

Untitled

Oct 27th, 2024
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. always @(posedge clk) begin
  2.     if(rst_n)
  3.        Q <= D;
  4. end
  5.  
  6. always @(*) begin
  7.     if(!rst_n)
  8.        Q <= 0;
  9. end
  10.  
  11. endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement