aboutsummaryrefslogtreecommitdiff
path: root/src/instruction_reg.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/instruction_reg.v')
-rw-r--r--src/instruction_reg.v20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/instruction_reg.v b/src/instruction_reg.v
deleted file mode 100644
index d98ab6d..0000000
--- a/src/instruction_reg.v
+++ /dev/null
@@ -1,20 +0,0 @@
-module instruction_reg (
- input clk,
- input rstn,
-
- input we,
- input [31:0] pc_in, instr_in,
- output reg [31:0] pc_buf, instr
-);
-
-always @ (posedge clk or negedge rstn) begin
- if (!rstn) begin
- pc_buf <= 32'b0;
- instr <= 32'b0;
- end else if (we) begin
- pc_buf <= pc_in;
- instr <= instr_in;
- end
-end
-
-endmodule