Close

March 2, 2017 - Solving a issue with the ALU

A project log for The Cardboard Computer - IO is my name

My goal is a 4-bit CPU using recycled cardboard substrate and Diode Transistor Logic. This is an educational platform for me.

dr-cockroachDr. Cockroach 03/02/2017 at 20:012 Comments

I had noticed that once I had the ALU connected to other parts of IO, that the logic levels were not all high enough to light up the led's. The big problem was when all four A inputs ( or B ) were set high and then set the first B ( or A ) input high then the only output should have been just the final 16 carry bit. However this was not the case and when I measured the voltage I found the high logic was down to about 2 volts. Way too low. I decided to insert a non inverting buffer between the third bit carry out and the fourth bit carry in. This raised the carry logic high level back to near rail voltage and all combinations of adder/ALU inputs produces the expected outputs. I had to create a cardboard support platform for the added circuit.

Discussions

Dave's Dev Lab wrote 03/02/2017 at 20:36 point

weird how all of these projects run in almost the same identical issues! i've been running into this with my WITCH-E project as well! another issue i've been seeing with regards to my J-K and D flip-flops is that they are getting triggered due to power supply noise and also due to noise on the long connectivity wires. i've had to add some low capacitance (4.7nF) to the lines to help with the glitching...

  Are you sure? yes | no

Dr. Cockroach wrote 03/02/2017 at 20:45 point

Know what you mean Dave, I am just getting to the point of construction with IO that I am starting to see these issues. But I am learning a great deal and would have it no other way. BTW your WITCH-E project is fantastic :-)

  Are you sure? yes | no