-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPC_old.v
More file actions
34 lines (32 loc) · 730 Bytes
/
PC_old.v
File metadata and controls
34 lines (32 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 2023/01/10 18:34:19
// Design Name:
// Module Name: PC_old
// Project Name:
// Target Devices:
// Tool Versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module PC_old(
input PColdWr,
input CLK,
input [31:0] PC_old_D,
output reg [31:0] PC_old_Q
);
initial PC_old_Q <= 0;
always @ (posedge CLK) begin
//PC_W=PCWr|(PCWrCond & F3_result);
if(PColdWr==1) PC_old_Q=PC_old_D;
end
endmodule