|
Pages: [1]
|
 |
|
Author
|
Topic: DASEGOS: Multiplier (Read 5144 times)
|
|
Zaratustra
|
This little machine multiplies two numbers from 0 to F. The result will appear on the striped tiles, the least significant digit on top and the most significant on bottom.
Other ideas on the same venue could include:
> More digits > Other operations > Decimal digits instead of hex
|
|
|
|
|
Logged
|
|
|
|
|
sluutthefeared
|
Here's mine. tivolicI had some troubles, but I think I got it worked out.
|
|
|
|
« Last Edit: October 14, 2006, 10:21:42 PM by sluutthefeared »
|
Logged
|
|
|
|
|
sluutthefeared
|
I was looking at yours and I noticed the most significant digit is off in some cases, such as D*D or B*9.
In the case of B*9, the least significant bits with a carry should be 2,4,6,8,1,3, but yours ends with an extra 2 in it, 2,4,6,8,2,1,3. Not sure where that extra 2 came from since it shouldn't be repeated again, possibly a timing problem there?
Also, in some cases comparing the least significant bit with the initial operand doesn't work properly. For example, 8*A is 50 and 9*A is 5A. When comparing the least significant bit with the operand the machine will count that A as a carry when it's not.
|
|
|
|
« Last Edit: October 10, 2006, 08:06:17 PM by sluutthefeared »
|
Logged
|
|
|
|
|
sluutthefeared
|
I decided to make another. zobuzidIn this one I used some tricks to get it to run at full speed and be a bit more compact.
|
|
|
|
« Last Edit: October 14, 2006, 10:21:12 PM by sluutthefeared »
|
Logged
|
|
|
|
|
sluutthefeared
|
I enjoyed working on this problem before, so to get used to the physics changes I decided to return to it. xyhedaz
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
|
|
Pages: [1]
|
|
|
 |