Deep Learning Optimisation Modelsim