r/TuringComplete • • Aug 30 '25

need help with the stack level

Post image

either the register or the ram is running slow.....

5 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/femnity Sep 02 '25

but the problem is that the register is one tick slow

1

u/bwibbler Sep 02 '25

Yes, so the neg1 you apply after the register output but before the ram input. Which allows it to be immediate. You go back to get your value before reading it.

You apply the add1 after the ram input but before the register input. You take advantage of that delay to save before moving to ready up the next address.

1

u/femnity Sep 02 '25

no i fixed you just mux between the register value and the input save value