-
公开(公告)号:US20220407540A1
公开(公告)日:2022-12-22
申请号:US17895466
申请日:2022-08-25
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yi LI , Jiancong LI , Xiangshui MIAO , Peng YAN , Guiyou PU , Xiaozhong SHI , Keji HUANG
Abstract: The present application discloses a Hamming weight calculation method performed by an operation apparatus. The operation apparatus includes a controller and a first calculator, wherein the controller sets an initial resistance state of the first memory to a low resistance state; determines a first gate voltage of the first transistor based on first bit data in a first binary sequence, and control an on-off state of the first transistor based on the first gate voltage; controls a target resistance state of the first memory based on the on-off state of the first transistor; and determines a Hamming weight of the first bit data based on a first output current on the source of the first transistor.