In fact, the reverse-engineering of the intellect, performed by the intellect itself, is psychology - the desire to understand what consciousness is, mind, psyche, intellect, all these are synonyms of the thinking system.
The terminology of psychology is inaccurate and controversial, so you need to clarify or redefine terms. Also in the field of study includes linguistics and programming. Knowledge of linguistics can help create a universal logical language for the presentation and processing of any information. The same logical language programs the entire logical system, and separately efficient pattern recognition without delay.
CPU and GPU can be compared with the functional asymmetry of the human brain - logical and figurative thought processes are clearly distinguishable. Therefore, we should especially note the remarkable technology of CUDA - we can say that only now is the right time to create AI, even at home.
')
If you rethink the classical scheme of the structure of the psyche by V. A. Ganzen, then you get a well-forgotten old:

Further interpretation of the scheme with the adaptation of terminology for programmers.
Intellect, as a program running on a biological computer, consists of four main processes -
Attention and Memory, Activity and Response.All these processes operate continuously, with a break for sleep.
Activity is governed by feedback from Response. Attention uses Memory.
Activity is consciousness of arbitrariness - the opposite of the reactivity of the unconsciousness of involuntariness.
Constructively, this scheme corresponds to the four-petal circle of Muladhara, the “root” of human consciousness in traditional Indian psychology, located in the “tail” of the spinal cord.
The four main processes are interconnected in a circle in a circle, forming pair functions at the junctions -
Speech, Presentation, Perception, Sensation, Emotions, Feelings, Motivation, Action.For ease of understanding, functions are grouped in pairs — will (MD), thinking (RP), perception (OM), and affect (SE).
Functions are interrelated and use the results of each other's work.
Attention explores objects consciously and unconsciously. Attention is at the heart of Motivation and Feelings; Action and Emotions are also controlled by Attention. The active part of Attention is Motivation and Action, the reactive part of Attention is Feelings and Emotions.
Motivation is a conscious active goal-setting, reasoning, decision-making, the formulation of a logical problem and finding a solution, planning, motivation, intention, etc. The rules of behavior and data about the situation are used, that is, Representation, Feelings (for example, hunger or interest) are also used.
Feelings are automatic unconscious Response of Attention to objects using analyzers (sense organs) and Emotions, this is also foreboding-intuition.
(here objects are any objects or phenomena, from the real world or fictional).
Emotions and Sensations are the main part of the Response, Feelings and Perceptions also work in the automatic-unconscious mode.
Emotions are an evaluative reaction of Attentions to objects, these are impressions, an emotional relation to an object, a mood (emotional state), an experience.
Sensation is a distinction between the properties of objects, its distinguishable parts.
Perception and Presentation is the main part of Memory - reading and writing data, also Speech and Sensation use Memory.
Perception is an unconscious automatic recognition (detection, identification) of whole images, and the recording of the received data in memory.
That is, for any images there is a single suitable data format.
A representation is a reproduction of a reproduction of an image from memory, and imagination.
Activity is mainly physical Actions and Speech, also active-conscious Motivation and Presentation.
Speech is an information exchange between intellects and the preservation of knowledge on a physical medium.
Action is the realization of Motivation, or the execution of a speech command from a different intelligence.
Actions provide data for “motor attention”.
Speech and Presentation is so-called. “The second signal system”, not all intellects possess it. Sign language which monkeys are able to own is also Speech. For monkeys, this scheme will be the same - at the level of the root of Muladhara, man is a beast.
And a little more reasoning.
Sleep is separate from the main mode of the brain, with a possibly undesirable side effect in the form of dreams. In sleep mode, the brain department providing Attention should rest, and the mind changes uncontrollably if Attention does not fall asleep due to stress, arousal, etc.
This program architecture allows the possibility of granting the right to make decisions to an external Observer, through the interface of the Motivation function. The Observer-Soul can only do with a simple “switch” yes / no. Structurally, this corresponds to the two-petal circle of Ajna (which means the Order), located in the hemispheres of the brain. Man's ability to distinguish good from evil is Ajna.
Probably it is impossible to fully recreate in the car Feelings and Emotions, because it requires a feeling flesh, a living body, a feeling environment around itself and within itself, feeling even unity and harmony with the outside world.
Excluding or simplifying the process of automatic unconscious Response gives an intelligent machine a very much superior logical computing capability of a person. Such a human Exointelect does not make important decisions on its own, because without a full-fledged Emotion function it is impossible to evaluate some very important objects of the human world. Such a tool is beautifully depicted in the film “Sea Battle”. Exointelligence and exoskeleton will allow a person to focus on the important and interesting, for example, on creativity and intuition, on the game, entrusting logic-mathematics and heavy mechanics to the machine.
You can call a person a designed biological mechanism, then there is the possibility of the existence of Engineers who design various classes of thinking machines. And if we assume that the human mind is their "image and likeness", then it follows that the human mind contains some similar part of the device of the mind of the Creator of man. And according to the same Indian psychology, outside the human body there is usually the Unused Higher Circle Thousand-Petal - that is, man probably differs from other higher animals in that it has a special interface for the Engineers who built these machines, either for a reasonable mechanism called Karma or Fate ...
So simply and beautifully arranged the mind of man. Defined the basic concepts of architecture.