Files
2025-11-06 09:35:54 +08:00

12 lines
229 B
Verilog

module DR(
input clk,
input WE,
input [31:0] DataIn,
output reg [31:0] DataOut
);
always @(posedge clk) begin
if (WE) begin
DataOut <= DataIn;
end
end
endmodule