Rename rv32_hazard to rv32_hazard_unit
This commit is contained in:
parent
f19d41c8a2
commit
58ff5c9ec7
2 changed files with 2 additions and 2 deletions
2
rv32.sv
2
rv32.sv
|
|
@ -94,7 +94,7 @@ module rv32 (
|
||||||
/* mem -> fetch data */
|
/* mem -> fetch data */
|
||||||
logic [31:0] mem_branch_pc;
|
logic [31:0] mem_branch_pc;
|
||||||
|
|
||||||
rv32_hazard hazard (
|
rv32_hazard_unit hazard_unit (
|
||||||
/* control in */
|
/* control in */
|
||||||
.decode_rs1_in(decode_rs1_unreg),
|
.decode_rs1_in(decode_rs1_unreg),
|
||||||
.decode_rs2_in(decode_rs2_unreg),
|
.decode_rs2_in(decode_rs2_unreg),
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
`ifndef RV32_HAZARD
|
`ifndef RV32_HAZARD
|
||||||
`define RV32_HAZARD
|
`define RV32_HAZARD
|
||||||
|
|
||||||
module rv32_hazard (
|
module rv32_hazard_unit (
|
||||||
/* control in */
|
/* control in */
|
||||||
input [4:0] decode_rs1_in,
|
input [4:0] decode_rs1_in,
|
||||||
input [4:0] decode_rs2_in,
|
input [4:0] decode_rs2_in,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue