Untitled
unknown
plain_text
2 years ago
185 B
8
Indexable
module N_bit_register #(parameter WIDTH = 4) (
input clk,
input [WIDTH-1:0] d,
output reg [WIDTH-1:0] q
);
always @(posedge clk) begin
q <= d;
end
endmodule
Editor is loading...
Leave a Comment