02-09-2015, 11:39 AM
Well, I finally got around to starting this, i've had a rough draft in my head for about a month until I was driving back out west for the week, pondering my multiplier input and then I realized the trick is to loop it and subtract 2 each cycle to split an analog signal into 2 values. this is when it hit me, the same applies when dividing larger numbers and whenever the signal doesn't have a full value to cycle again it will get put into a memory cell as the remainder. This is only my Concept test model, I can derive the correct numbers with this but i know with a little rearranging I won't have to do as many steps to get it.
left of the lamps is a basic divide by 4 loop, when you pulse 9 into the loop it will loop twice and then output 1, with this we can catch and output 2 1/4. The larger display is my prototype, the top lamp display shows the remainder, 2nd lamps show the divisor, 3rd lamps show the dividend, and 4th lamps show the quotient, now this isn't as cut and dry yet, this is showing the answer for 13/3, so to get the right output the remainder must be subtracted to get 4 1/3, 14 will show the same but a remainder of 1 instead of 2. I was looking to use some math tricks i learned but this may end up being faster if i can split larger division into alot of smaller dividers sharing the load. I hope to make a universal/adjustable divider so i don't have to make 10 different sizes >_<
Super fast splitter uses a 2 comparator loop that subtracts 1 on each side, and will adjust a 1-tick balancing memory cell, outputs are compared in the middle to give an output when odd.
left of the lamps is a basic divide by 4 loop, when you pulse 9 into the loop it will loop twice and then output 1, with this we can catch and output 2 1/4. The larger display is my prototype, the top lamp display shows the remainder, 2nd lamps show the divisor, 3rd lamps show the dividend, and 4th lamps show the quotient, now this isn't as cut and dry yet, this is showing the answer for 13/3, so to get the right output the remainder must be subtracted to get 4 1/3, 14 will show the same but a remainder of 1 instead of 2. I was looking to use some math tricks i learned but this may end up being faster if i can split larger division into alot of smaller dividers sharing the load. I hope to make a universal/adjustable divider so i don't have to make 10 different sizes >_<
Super fast splitter uses a 2 comparator loop that subtracts 1 on each side, and will adjust a 1-tick balancing memory cell, outputs are compared in the middle to give an output when odd.