Text this: Higher-order HDL: Applied to MLP neural network hardware implementation