System on chips (SoCs) based on a microprocessor or a neural processor (e.g., brain-inspired processor) electrically coupled with electronic memory devices and/or optically coupled with an optical memory device, along with embodiment(s) of a building block (an element) of the microprocessor/neural processor, the electronic memory device and the optical memory device are disclosed. It should be noted that a microprocessor can be replaced by a graphical processor.
System on chip (SoC) based on neural processor or microprocessor