Untitled
Anonymous
plain_text
05/14/2024 5:50 AM
248 B
16
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