01-11-2015, 05:14 AM
(This post was last modified: 01-11-2015, 05:46 AM by Apocryphan.)
I plan to make a Hex to decimal converter with this, won't be too hard if i use set values for each digit to reflect the value of each hex digit and have the multiplier equal the value of the digit, i'd just be multiplying each digit and then adding them.
edit: nvm just realized how tall that would have to be, the second digit would be as tall as the 2 multipliers and every digit after would need 2 multipliers as well, i may just work on a rollover carry for the carry ram and just setup a clock to input the current multiplier with the first value, followed by 16 x 2nd value, 256 x 3rd value, 4096 x 4th value, my only concern is surpassing the full carry when inputting, so it will take some playing around to make sure it has the capacity for it, or else i can maybe make it rollback and clear the carry before the next hex digit. Just wondering, but which way would you try for? Keep on adding rollover carries until it can keep adding multiplications without worry, or work on a roll back carry and clear after each digit to reset the carry ram.
Another Display of it
edit: nvm just realized how tall that would have to be, the second digit would be as tall as the 2 multipliers and every digit after would need 2 multipliers as well, i may just work on a rollover carry for the carry ram and just setup a clock to input the current multiplier with the first value, followed by 16 x 2nd value, 256 x 3rd value, 4096 x 4th value, my only concern is surpassing the full carry when inputting, so it will take some playing around to make sure it has the capacity for it, or else i can maybe make it rollback and clear the carry before the next hex digit. Just wondering, but which way would you try for? Keep on adding rollover carries until it can keep adding multiplications without worry, or work on a roll back carry and clear after each digit to reset the carry ram.
Another Display of it