Skip to content

Commit a558597

Browse files
committed
minor improvement to x2 volume gain
1 parent 0140cdc commit a558597

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hdl/jt12_acc.v

+3-2
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,12 @@ always @(posedge clk)
130130
end
131131
if( s2_enters ) begin
132132
sum_all <= 1'b0;
133+
// x1 volume
133134
// left <= pre_left;
134135
// right <= pre_right;
135136
// x2 volume
136-
left <= { pre_left[10:0], 1'b0 };
137-
right <= { pre_right[10:0], 1'b0 };
137+
left <= { pre_left [10:0], pre_left [10] };
138+
right <= { pre_right[10:0], pre_right[10] };
138139
`ifdef DUMPSOUND
139140
$strobe("%d\t%d", right, right);
140141
`endif

0 commit comments

Comments
 (0)