  MAORY is the adaptive optics module of the E-ELT that will feed the MICADO
imaging camera through a gravity invariant exit port. MAORY has been foreseen
to implement MCAO correction through three high order deformable mirrors driven
by the reference signals of six Laser Guide Stars (LGSs) feeding as many
Shack-Hartmann Wavefront Sensors. A three Natural Guide Stars (NGSs) system
will provide the low order correction. We develop a code for the end-to-end
simulation of the MAORY adaptive optics (AO) system in order to obtain
high-delity modeling of the system performance. It is based on the IDL language
and makes extensively uses of the GPUs. Here we present the architecture of the
simulation tool and its achieved and expected performance.
