-
公开(公告)号:EP4087181A1
公开(公告)日:2022-11-09
申请号:EP21760009.7
申请日:2021-02-02
发明人: LI, Yi , LI, Jiancong , MIAO, Xiangshui , YAN, Peng , PU, Guiyou , SHI, Xiaozhong , HUANG, Keji
摘要: Embodiments of this application disclose a Hamming weight calculation method based on an operation apparatus. The operation apparatus in this application includes a controller and a first operation unit, the controller is in signal connection with the first operation unit, the first operation unit includes a first memory and a first transistor, a drain of the first transistor is connected to a negative electrode of the first memory, and a source of the first transistor is grounded. The Hamming weight calculation method is performed by the controller. Specifically, 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 an input 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.
-
公开(公告)号:EP4191524A1
公开(公告)日:2023-06-07
申请号:EP21859485.1
申请日:2021-01-11
发明人: YAN, Peng
摘要: This application relates to the field of signal processing technologies and discloses a detection circuit, a chip, and an electronic device, to help reduce calculation steps, improve calculation efficiency, and reduce power consumption of a device. The detection circuit includes: a first pulse sequence generator, configured to generate a first pulse sequence based on a first signal; a second pulse sequence generator, configured to generate a second pulse sequence based on a second signal, where amplitudes of the first signal and the second signal are different, and frequencies or amplitudes of the first pulse sequence and the second pulse sequence are different; a first conductance device, configured to receive the first pulse sequence to generate a first conductance; a second conductance device, configured to receive the second pulse sequence to generate a second conductance; and a difference detection circuit, configured to: when both the first conductance device and the second conductance device receive a third signal, output a voltage used to represent a difference between the first conductance and the second conductance. The detection circuit can be applied to an image edge detection scenario.
-