Neural network description of the model. Pointed arrows represent excitatory or dopaminergic synapses, while rounded arrows represent inhibitory synapses. The black curved triangles represent connections from all units of a given population to a single cell. The type of the connection (exc, mod, inh, dopa) is added next to the arrow. Lateral inhibitory connections within BLA and NAcc are only partially represented for simplicity. BLA is composed of 36 units, whose activation is defined by Equation (10). Each unit receives excitatory connections from all LH units (gexc(t)), modulated connections from all IT units (gmod(t)), one dopaminergic connection from VTA (gdopa(t)) and inhibitory connections from all other BLA units (ginh(t)). Each of the 3 banks of 50 oscillators in vmPFC receives excitatory connections (gexc(t)) from a specific cluster of three units in IT representing a given CS. NAcc is composed of 36 units, whose activation is defined by Equation (16). Each unit receives a single excitatory connection from BLA (gexc(t)), excitatory connections from all units of vmPFC (gmod(t)), one dopaminergic connection from VTA (gdopa(t)) and inhibitory connections from all other NAcc units (ginh(t)). The other populations are composed of single units, integrating excitatory or inhibitory inputs.