Prev Problem
Next Problem

85. 4-bit Register

Back To All Submissions
Previous Submission
Next Submission

Solving Approach

How do you plan to solve it?

 

Code

module reg4 (
    input        clk,
    input  [3:0] d,
    output reg [3:0] q
);
// Write your code here
always@(posedge clk) 
   q <= d ;  
endmodule
Was this helpful?
Upvote
Downvote