From a558597021d2a164c291f8e0de2b1ea72936b318 Mon Sep 17 00:00:00 2001 From: Jose Tejada Date: Sat, 3 Nov 2018 09:32:05 +0100 Subject: [PATCH] minor improvement to x2 volume gain --- hdl/jt12_acc.v | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hdl/jt12_acc.v b/hdl/jt12_acc.v index 49ac31b..a925921 100644 --- a/hdl/jt12_acc.v +++ b/hdl/jt12_acc.v @@ -130,11 +130,12 @@ always @(posedge clk) end if( s2_enters ) begin sum_all <= 1'b0; + // x1 volume // left <= pre_left; // right <= pre_right; // x2 volume - left <= { pre_left[10:0], 1'b0 }; - right <= { pre_right[10:0], 1'b0 }; + left <= { pre_left [10:0], pre_left [10] }; + right <= { pre_right[10:0], pre_right[10] }; `ifdef DUMPSOUND $strobe("%d\t%d", right, right); `endif