The model architecture. The model consist of two parallel and competitive neural pathways form cortical network through basal ganglia ( caudate nucleus and substantia nigra pars reticulata ) to superior colliaulus for two different choices. Dopamine dependent STDP is implanted in the synapses between cortical neurons and basal ganglia. Each population is simulated by noisy spiking leaky integrate-and-fire neurons.