6)();
wire [1: H_bin_size*N_bins] Histogram_bits;
wire Ready, Valid, Wait__P1, Wait_P2, Wait_P3, Wait_P4, Wait_P5, Wait_P6;
reg [1: pixel_size * N_col * M_row] pixel_bits;
reg Go, clk, reset;
wire [H_bin_size: 0] Level1 = Histogram_bits [1: H_bin_size];
wire [H_bin_size: 0] Level2 = Histogram_bits [1 + H_bin_size: 2*H_bin_size];
// Instantiate image converter
Image_Histogram_Concurrent_Processors M0 (Histogram_bits, Ready, Valid, Wait_1, Wait_2,
Wait_3, Wait_4, Wait_5, Wait_6, pixel_bits, Go, clk, reset);
initial begin
begin: Image_Pattern_1
// Level 1 = 24, Level_8 = 24
pixel_bits = { 8’hff, 8’hff, 8’hff, 8’hff, 8’h00, 8’h00, 8’h00, 8’h00,
8’hff, 8’hff, 8’hff, 8’hff, 8’h00, 8’h00, 8’h00, 8’h00,
8’hff, 8’hff, 8’hff, 8’hff, 8’h00, 8’h00, 8’h00, 8’h00,
8’h00, 8’h00, 8’h00, 8’h00, 8’hff, 8’hff, 8’hff, 8’hff,
8’h00, 8’h00, 8’h00, 8’h00, 8’hff, 8’hff, 8’hff, 8’hff,
8’h00, 8’h00, 8’h00, 8’h00, 8’hff, 8’hff, 8’hff, 8’hff};
end
//#500 begin: Image_Pattern_2