Now it is much too hot in the attic to work on my RISC Relay CPU, thinking starts about a next project.
So I designed an ALU (wikipedia: ALU) in DCTL, that might be used in a next project. The ALU was simulated in the Falstad simulator, that has the nice property that you can actually see the current flowing during simulation.
The arithmetic and logical functions are all working correct. Optimizations for component values or speed have not been done yet.
In a first log, I will show a full adder.
In the second log, this will be expanded to a ALU with ADD, Subtract and all 16 logic functions.
You can do the simulations yourself in the Falstad circuit simulator: In the File menu, select "Import from text" and paste the contents of one of the files in the files section.