Skip to content

Commit

Permalink
Reduce audio taps.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorgelig committed Feb 4, 2019
1 parent 4df6df2 commit b90539d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sys/sys_top.v
Original file line number Diff line number Diff line change
Expand Up @@ -1088,10 +1088,10 @@ module aud_mix_top

reg [15:0] ca;
always @(posedge clk) begin
reg [15:0] d1,d2,d3,d4,d5,d6,d7;
reg [15:0] d1,d2,d3;

d1 <= core_audio; d2<=d1; d3<=d2; d4<=d3; d5<=d4; d6<=d5; d7<=d6;
if(d2 == d3 && d2 == d4 && d2 == d5 && d2 == d6 && d2 == d7) ca <= d2;
d1 <= core_audio; d2<=d1; d3<=d2;
if(d2 == d3) ca <= d2;
end

always @(posedge clk) begin
Expand Down

0 comments on commit b90539d

Please sign in to comment.