Skip to content

Commit 59b2481

Browse files
committed
refactor: Improve code readability and fix bug with output data in Conv.v
1 parent 97996f9 commit 59b2481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/Conv.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ end
133133
// Output the result 6x6 matrix
134134
always @(posedge clk) begin
135135
if ( output_data_status == 1'b1 ) begin
136-
dout = conv_result[output_counter] ;
136+
dout = conv_result[output_counter][19:4];
137137
output_counter <= output_counter + 1;
138138
out_st <= 1'b0;
139139
if (output_counter == 36) begin // 6x6 matrix

0 commit comments

Comments
 (0)