Skip to content

Commit

Permalink
forgot to add i index here... need to test in top_tb
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer committed May 16, 2020
1 parent a32dfe1 commit bb767d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tmds_channel.sv
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ begin
begin
q_m[0] = video_data[0];
for(i = 0; i < 7; i++)
q_m[i + 1] = q_m[0] ~^ video_data[i + 1];
q_m[i + 1] = q_m[i] ~^ video_data[i + 1];
q_m[8] = 1'b0;
end
else
begin
q_m[0] = video_data[0];
for(i = 0; i < 7; i++)
q_m[i + 1] = q_m[0] ^ video_data[i + 1];
q_m[i + 1] = q_m[i] ^ video_data[i + 1];
q_m[8] = 1'b1;
end
if (acc == 5'sd0 || (N1q_m07 == N0q_m07))
Expand Down

0 comments on commit bb767d3

Please sign in to comment.