Rename rv32_branch to rv32_branch_unit

This commit is contained in:
Graham Edgecombe 2017-12-12 21:05:02 +00:00
parent 58ff5c9ec7
commit f571ab29eb
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ module rv32_branch_pc_mux (
assign pc_out = {pc[31:1], 1'b0};
endmodule
module rv32_branch (
module rv32_branch_unit (
/* control in */
input [1:0] op_in,
@ -38,7 +38,7 @@ module rv32_branch (
output logic taken_out
);
logic non_zero;
assign non_zero = |result_in;
always_comb begin

View file

@ -48,7 +48,7 @@ module rv32_mem (
output logic [31:0] address_out,
output logic [31:0] write_value_out
);
rv32_branch branch (
rv32_branch_unit branch_unit (
/* control in */
.op_in(branch_op_in),