Tesi Robotica Un coprocessore per Visual Search: Keypoint... | Page 102

4.3. IMPLEMENTAZIONE DEL MODULO DI CONVOLUZIONE LUT 178 183 188 193 198 203 208 case(reg_mult_rom_a_2) matches 0: begin reg_mult_rom_b_2_value <= 0; end 1: begin reg_mult_rom_b_2_value <= unpack(pack(reg_mult_rom_b_2)); end 3: begin reg_mult_rom_b_2_value <= unpack(pack(-reg_mult_rom_b_2)); end endcase case(reg_mult_rom_a_3) matches 0: begin reg_mult_rom_b_3_value <= 0; end 1: begin reg_mult_rom_b_3_value <= unpack(pack(reg_mult_rom_b_3)); end 3: begin reg_mult_rom_b_3_value <= unpack(pack(-reg_mult_rom_b_3)); end endcase case(reg_mult_rom_a_4) matches 0: begin reg_mult_rom_b_4_value <= 0; end 1: begin reg_mult_rom_b_4_value <= unpack(pack(reg_mult_rom_b_4)); end 3: begin reg_mult_rom_b_4_value <= unpack(pack(reg_mult_rom_b_4)); end endcase case(reg_mult_rom_a_5) matches 102