Text this: VHDL modeling and simulation of the back-propagation algorithm and its mapping to the RM