A semiconductor device , comprising: a first semiconductor structure comprising a processor , an array of static random-access memory, SRAM, cells forming an SRAM , a first bonding layer comprising a plurality of first bonding contacts , a first interconnect layer vertically between the first bonding layer and the processor , all peripheral circuits for controlling and sensing a NAND memory , wherein the SRAM and the peripheral circuits are disposed outside of the processor , wherein the array of SRAM cells are distributed in a plurality of separate regions in the first semiconductor structure , which is outside of processor ,wherein a cache module formed by the SRAM is divided into smaller cache regions, distributed randomly, and wherein the first interconnect layer is configured to transfer electrical signals between the processor and one or more of the array of SRAM cells and the peripheral circuits, wherein the SRAM and the processor are stacked one over another; a second semiconductor structure comprising an array of NAND memory cells , a second bonding layer comprising a plurality of second bonding contacts , and a second interconnect layer vertically between the second bonding layer and the array of NAND memory cells ; and a bonding interface between the first bonding layer and the second bonding layer , wherein the first bonding contacts are in contact with the second bonding contacts at the bonding interface . a first semiconductor structure comprising a processor , an array of static random-access memory, SRAM, cells forming an SRAM , a first bonding layer comprising a plurality of first bonding contacts , a first interconnect layer vertically between the first bonding layer and the processor , all peripheral circuits for controlling and sensing a NAND memory , wherein the SRAM and the peripheral circuits are disposed outside of the processor , wherein the array of SRAM cells are distributed in a plurality of separate regions in the first semiconductor structure , which is outside of processor ,wherein a cache module formed by the SRAM is divided into smaller cache regions, distributed randomly, and wherein the first interconnect layer is configured to transfer electrical signals between the processor and one or more of the array of SRAM cells and the peripheral circuits, wherein the SRAM and the processor are stacked one over another; a second semiconductor structure comprising an array of NAND memory cells , a second bonding layer comprising a plurality of second bonding contacts , and a second interconnect layer vertically between the second bonding layer and the array of NAND memory cells ; and a bonding interface between the first bonding layer and the second bonding layer , wherein the first bonding contacts are in contact with the second bonding contacts at the bonding interface . an array of NAND memory cells , a second bonding layer comprising a plurality of second bonding contacts , and a second interconnect layer vertically between the second bonding layer and the array of NAND memory cells ; and a plurality of second bonding contacts , and a second interconnect layer vertically between the second bonding layer and the array of NAND memory cells ; and a bonding interface between the first bonding layer and the second bonding layer , wherein the first bonding contacts are in contact with the second bonding contacts at the bonding interface . <EOS>