I'm having trouble displaying a binary number into a display. I'm not sure of how to split a number in binary into its individual numbers.
For example, if I want to display 25, I want to split this into "2" and "5" in binary.
I have 8 bits coming in and would like to split it into two 4 bit parts with the first 4 bits representing the first digit in binary and second 4 bits representing the second digit in binary.
EDIT: To clarify, I'm trying to do this using logic gates.