Automated methodologies for mapping convolutional neural networks on reconfigurable hardware