From 35823428e72c0804cd71e7c30c7b2db306d003fa Mon Sep 17 00:00:00 2001 From: Raphael Jacquot Date: Thu, 14 Mar 2019 13:45:14 +0100 Subject: [PATCH] other verilator fixes --- saturn_control_unit.v | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/saturn_control_unit.v b/saturn_control_unit.v index d14b3bb..f21ebcd 100644 --- a/saturn_control_unit.v +++ b/saturn_control_unit.v @@ -355,13 +355,13 @@ wire [0:0] reload_PC; always @(i_dbg_register, i_dbg_reg_ptr) begin case (i_dbg_register) - `ALU_REG_A: o_dbg_reg_nibble <= reg_A[i_dbg_reg_ptr]; - `ALU_REG_B: o_dbg_reg_nibble <= reg_B[i_dbg_reg_ptr]; - `ALU_REG_C: o_dbg_reg_nibble <= reg_C[i_dbg_reg_ptr]; - `ALU_REG_D: o_dbg_reg_nibble <= reg_D[i_dbg_reg_ptr]; - `ALU_REG_D0: o_dbg_reg_nibble <= reg_D0[i_dbg_reg_ptr]; - `ALU_REG_D1: o_dbg_reg_nibble <= reg_D1[i_dbg_reg_ptr]; - default: o_dbg_reg_nibble <= 4'h0; + `ALU_REG_A: o_dbg_reg_nibble = reg_A[i_dbg_reg_ptr]; + `ALU_REG_B: o_dbg_reg_nibble = reg_B[i_dbg_reg_ptr]; + `ALU_REG_C: o_dbg_reg_nibble = reg_C[i_dbg_reg_ptr]; + `ALU_REG_D: o_dbg_reg_nibble = reg_D[i_dbg_reg_ptr]; + `ALU_REG_D0: o_dbg_reg_nibble = reg_D0[i_dbg_reg_ptr]; + `ALU_REG_D1: o_dbg_reg_nibble = reg_D1[i_dbg_reg_ptr]; + default: o_dbg_reg_nibble = 4'h0; endcase end