Method and apparatus for performing a MAC operation in a memory array
AssigneeMediaTek Singapore Pte. Ltd.
InventorsChetan Deshpande, Gajanan Sahebrao Jedhe, Cheng-Xin Xue, Zijie Guo
Life of this patent
Estimating the term…
Loading patent…
AssigneeMediaTek Singapore Pte. Ltd.
InventorsChetan Deshpande, Gajanan Sahebrao Jedhe, Cheng-Xin Xue, Zijie Guo
Estimating the term…
Aspects of the present disclosure are directed to devices and methods for performing MAC operations using a TCAM array as a compute-in-memory (CIM) device that can enable higher computational throughput, higher performance and lower energy consumption compared to computation using a processor outside of a memory array. In some embodiments, weights in a weight matrix may be programmed in SRAMs of a TCAM bit cell array. Each SRAM may operate as a multiplier that performs a multiplication between the stored weight to an input activation value applied at a search line in the TCAM bit cell array. The two SRAMs within a TCAM bit cell may operate independently to receive independently two input activation values on their respective select lines, and to perform a multiplication operation with the stored weight in each respective SRAM.
A compute-in-memory device, comprising:
A method for operating a ternary content-addressable memory TCAM) cell array to perform a multiply-and-accumulate (MAC) operation of a vector of input activations with a weight matrix of weights, wherein TCAM cells in the TCAM cell array are arranged in a plurality of rows and each comprising two static random-access memories (SRAMs), the method comprising:
Dependencies are inferred from the claim text.