diff --git a/Color/ColorBlender.sv b/Color/ColorBlender.sv index 5873b1a..9e079d9 100644 --- a/Color/ColorBlender.sv +++ b/Color/ColorBlender.sv @@ -89,8 +89,8 @@ module ColorBlender #( SATI_DATA: begin data_cal[0] <= |data_cal[0][31 : OUT_DEPTH] ? {32{1'b1}} : data_cal[0]; - data_cal[1] <= |data_cal[0][31 : OUT_DEPTH] ? {32{1'b1}} : data_cal[1]; - data_cal[2] <= |data_cal[0][31 : OUT_DEPTH] ? {32{1'b1}} : data_cal[2]; + data_cal[1] <= |data_cal[1][31 : OUT_DEPTH] ? {32{1'b1}} : data_cal[1]; + data_cal[2] <= |data_cal[2][31 : OUT_DEPTH] ? {32{1'b1}} : data_cal[2]; end SEND_DATA: begin diff --git a/isp.sv b/isp.sv index 306cf9a..6667966 100644 --- a/isp.sv +++ b/isp.sv @@ -73,7 +73,7 @@ module isp #( // reg in_receive; // always @(posedge clk) in_receive <= in_en; wire in_receive; - assign in_receive = ~in_ready; + assign in_receive = out_en; assign out_clk = clk;