refactor: renamed all signals for consistency
This commit is contained in:
@@ -23,12 +23,12 @@
|
||||
module pc(
|
||||
input clk, rst,
|
||||
input [31:0] next_pc,
|
||||
output reg [31:0] imem_addr
|
||||
output reg [31:0] pc_out
|
||||
);
|
||||
|
||||
always @(posedge clk or posedge rst) begin
|
||||
if (rst) imem_addr <= 0;
|
||||
else imem_addr <= next_pc;
|
||||
if (rst) pc_out <= 0;
|
||||
else pc_out <= next_pc;
|
||||
end
|
||||
|
||||
endmodule
|
||||
|
||||
Reference in New Issue
Block a user