  In this manuscript we investigate the generalized Dirac oscillator in the
simplest topological defect described by the cosmic string space-time under the
effect of the external electromagnetic fields. The radial wave equation and
energy eigenvalue of the Dirac oscillator considered as the Cornell potential
function are derived via the Nikifornov-Uvarov method, we start with the
initial analysis of the Aharonov-Casher frequency and phase, deficit angle, and
potential parameters on energy spectrum. We also give two specific cases that
Dirac oscillator with the Coulomb and Linear potential in this system. Note
that the Coulomb strength N1 has non-negligible effect on the studied system.
