From 4fa38974d5dd3f89d08320c0636edb307c2eab7e Mon Sep 17 00:00:00 2001 From: Markus Wegmann Date: Mon, 9 Jan 2017 11:33:21 +0100 Subject: [PATCH] Fix config --- id_stage.sv | 3 +++ 1 file changed, 3 insertions(+) diff --git a/id_stage.sv b/id_stage.sv index 6844b6d4..89c0fccb 100644 --- a/id_stage.sv +++ b/id_stage.sv @@ -758,8 +758,11 @@ module riscv_id_stage SEL_FW_EX: operand_a_fw_id = regfile_alu_wdata_fw_i; // CONFIG_REGION: ONLY_ALIGNED `ifndef ONLY_ALIGNED + // CONFIG_REGION: MERGE_ID_EX + `ifdef MERGE_ID_EX SEL_MISALIGNED: operand_a_fw_id = misaligned_addr_i; `endif + `endif SEL_FW_WB: operand_a_fw_id = regfile_wdata_wb_i; SEL_REGFILE: operand_a_fw_id = regfile_data_ra_id; default: operand_a_fw_id = regfile_data_ra_id;