update software sim
This commit is contained in:
@@ -152,13 +152,14 @@ module demosaic2 #(
|
||||
pos_y <= pos_y + 1;
|
||||
if (pos_y >= IM_HEIGHT - 2 - 1) begin
|
||||
pos_y <= 0;
|
||||
case (RAW_TYPE)
|
||||
0: raw_type <= 2;
|
||||
1: raw_type <= 3;
|
||||
2: raw_type <= 0;
|
||||
3: raw_type <= 1;
|
||||
endcase
|
||||
end
|
||||
// 换行后切换Bayer格式
|
||||
case (RAW_TYPE)
|
||||
0: raw_type <= 2;
|
||||
1: raw_type <= 3;
|
||||
2: raw_type <= 0;
|
||||
3: raw_type <= 1;
|
||||
endcase
|
||||
end
|
||||
else begin
|
||||
cnt_data <= 2;
|
||||
|
||||
Reference in New Issue
Block a user