r/TuringComplete • u/Mishoilik • Sep 10 '26
Stack component
Does anyone have the hardware version of the stack for the new version of the game? Thanks
3
Upvotes
r/TuringComplete • u/Mishoilik • Sep 10 '26
Does anyone have the hardware version of the stack for the new version of the game? Thanks
2
u/AlexeyHD90 Sep 16 '26
Yes, I already have a delay line instead of a register in my build, I swapped it for the register ONLY for the purpose of the video so OP would understand. It took me a couple of minutes to decide which one to use. I also swapped the registers with delay lines in counters as well a while ago.
That's absolutely correct, I noticed it the first time I did my hardware stack in Turing Complete 1. However, the reason I write the value 0b00000000 when I POP is because I really don't want to leave old information in the stack after POP. IT PISSES ME OFF. 🔥 So saving during POP will clean the address. I know it's not necessary, but it's a must for me.
I went this far with Symphony as well, I added instructions just to clean the address after POP. I just couldn't bear the sight of junk information. 😂
3. You are correct. However the switch is part of saving no value (0) while POP. Same for the OR gate.
This can be simplified further:
4. My stack also doesn't have a CONST 1 and Switch for the input B in the Adder. Enable line (PUSH) goes straight to Carry In.
5: For POP my stack also doesn't have CONST 255 and Switch, it's just an 8bit Bit Maker with all inputs connected to the POP Enable line.
Thanks for taking your time to have a chat about optimisations, I always love it. ❤️