Initial commit
This commit is contained in:
12
Experiments/Shared/DR.v
Normal file
12
Experiments/Shared/DR.v
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user