|
Pages: [1]
|
 |
|
Author
|
Topic: SIZAHOB: serial incrementer (Read 1928 times)
|
finka
Shelf-stacker

Posts: 4
|
This machine takes a theoretically infinite stream of digits and increments it, accounting for carries. I've set it up so that the string is fed back into itself every three digits, so it's functioning as a 3-digit counter, and stacking the results at the bottom of the play area. It processes one digit every twelve ticks; is it possible to go faster?
Another challenge: design a serial adder (that takes two streams of digits and adds them), the faster the better.
|
|
|
|
|
Logged
|
|
|
|
|
|
finka
Shelf-stacker

Posts: 4
|
Not really. I'm thinking of treating the strings of digits as continuous numbers, and you've neglected the carry there.
I've made an octal one at doretog. Using octal was very convenient for detecting the carries. In hex it seems to be quite a bit harder.
|
|
|
|
|
Logged
|
|
|
|
|
Daniel Nilsson
|
Another challenge: design a serial adder (that takes two streams of digits and adds them), the faster the better.
My attempt on an adder is stored as xobacek. It is a bit slow and I am not totaly satified with the carry logic, but it seems to work ok in all cases.
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |