The invention belongs to the field of general in-memory computing, in particular to an in-memory computing
system supporting general computing based on a magnetic
random access memory. The in-memory computing
system comprises a GCIM architecture, and the GCIM architecture comprises a
spin transfer torque magnetic
random access memory array, a shifter, a connector, a row decoder, a column decoder,a
bit line driver, a calculation word line digital-to-analog converter, a pre-charging induction
amplifier, a fifth-generation reduced
instruction set processor, an instruction parser and a register.According to the invention, storage can be realized in the memory, and calculation operation can be carried out in the memory. Moreover, the method can effectively support general calculation (including logic calculation, fixed-point calculation, floating-point calculation and the like), fully utilizes a plurality of sub-array structures and improved shifters and connectors, improves the
reconfigurability and calculation parallelism of the architecture, and improves the calculation efficiency.