-
公开(公告)号:US11817880B2
公开(公告)日:2023-11-14
申请号:US17895466
申请日:2022-08-25
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yi Li , Jiancong Li , Xiangshui Miao , Peng Yan , Guiyou Pu , Xiaozhong Shi , Keji Huang
CPC classification number: H03M13/19 , H03M13/611
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.