aboutsummaryrefslogtreecommitdiff
path: root/src/pc_reg.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/pc_reg.v')
-rw-r--r--src/pc_reg.v18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/pc_reg.v b/src/pc_reg.v
deleted file mode 100644
index 11fe9ba..0000000
--- a/src/pc_reg.v
+++ /dev/null
@@ -1,18 +0,0 @@
-module pc_reg (
- input clk,
- input rstn,
-
- input we,
- input [31:0] pc_in,
-
- output reg [31:0] pc
-);
-
-`include "include/consts.vh"
-
-always @ (posedge clk or negedge rstn) begin
- if (!rstn) pc <= PC_INITIAL;
- else if (we) pc <= pc_in;
-end
-
-endmodule