pass verilator

This commit is contained in:
SikongJueluo 2024-07-10 15:23:34 +08:00
parent 8503f8b3bc
commit 042e5b1aac
No known key found for this signature in database
GPG Key ID: D2D3D29A993716EA
2 changed files with 4 additions and 4 deletions

View File

@ -68,9 +68,9 @@ module GreyWorld #(
cnt_pexels <= 0;
calState <= 4;
r_white_gain[0] <= white_gain[0];
r_white_gain[1] <= white_gain[1];
r_white_gain[2] <= white_gain[2];
r_white_gain[0] <= {24'b0, white_gain[0] };
r_white_gain[1] <= {24'b0, white_gain[1] };
r_white_gain[2] <= {24'b0, white_gain[2] };
data_cache[0] <= 0;
data_cache[1] <= 0;
data_cache[2] <= 0;

2
isp.sv
View File

@ -36,7 +36,7 @@ module isp #(
input wire gamma_enable,
// 白平衡
input wire [31:0] white_gain[3],
input wire [15:0] white_gain[3],
input wire [8:0] flame_rate,
input wire white_enable,