Forum Discussion
Altera_Forum
Honored Contributor
10 years agoDivided integer number
Can I divide the integer number (for example, 120) to each of the numbers 1 2 0 in different variables?
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Why don't you simply use the standard function to_string() ? This way, each number can be addressed by indexes representing each descending decimal order. --- Quote End --- Because to_string is not synthesisable. To the op.. Why not just have it in hex? That way you just need a small lut for each hex digit.