Generating HDL Code from Simulink Training Class