Skip to content

Commit

Permalink
minor improvement to x2 volume gain
Browse files Browse the repository at this point in the history
  • Loading branch information
jotego committed Nov 3, 2018
1 parent 0140cdc commit a558597
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hdl/jt12_acc.v
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a558597

Please sign in to comment.