Last visit was: Wed Dec 01, 2021 6:34 pm
It is currently Wed Dec 01, 2021 6:34 pm



 [ 4 posts ] 
 LED Transistor Logic - LTL 
Author Message

Joined: Mon Aug 14, 2017 8:23 am
Posts: 157
A project recently spotted in the hackaday.io pages, by cpu enthusiast Tim Boscke.

A "new-old" logic family based on LEDs and transistors, and a complete bitslice cpu implementation based on these discrete logic gates.

Background.

In the mid-1960s before ICs were widely incorporated into cpus, computers were built using discrete transistor logic.

One popular logic family was Diode Transistor Logic or DTL. Here, input diodes were used to provide a logical AND or OR function follwed by a single transistor to provide inversion and current amplification to allow for increased drive and fan-out.

An earlier generation of logic, Resistor-Transistor Logic or RTL had suffered from poor noise immunity, because the difference between a logic 0 and a logic 1 was only about 600mV, dictated mainly by the Vbe threshold of the transistor.

This problem was overcome in DTL, by placing a pair of forward diodes in series with the base of the transistor. This meant that the input signal had to be larger than the combined forward drop of these diodes and the transistor Vbe threshold in order to be recognised as a logic 1, and cause the transistor to switch. In simple terms, it is just like raising the height of the hurdle, so that only the fittest atheletes will leap it successfully.

Experimentation

So [Tim Boscke], who has a fascination for all things hardware, but in particular LEDs, quickly realised that the pair of base diodes could be replaced by a single LED which had the correct voltage characteristic. Not only this but the LED would iluminate to show the input status of the gate.

Tim set about characterising the performance of the basic inverter gate, in terms of switching levels and propagation delay. Following many tests he determined the optimum choice of switching transistor, resistor values and LED. A green LED would give better noise immunity, whilst a red LED would give faster switching speed.

Quickly he realised that the gate was practical as a logic component and so set about designing some basic gates and registers.

The LED CPU

Another interest of Tim's was in creating minimal cpus. Whilst at University in 2001, he had created a viable 8-bit cpu using the smallest available CPLD - with just 32 macrocells and 64bytes of RAM.

This cpu would be an ideal candidate to recreate using his new family of LED-Transistor Logic.

Not only did Tim recreate his minimal cpu using the LED transistor logic, but designed it as a flexible bitslice with a more capable ALU (inspired by Dieter Muller's MT-15 unit) so that the system could be extended upwards from the 8-bit architecture at a later date.

His project is nicely written up with lots of photos and videos of the Blinkenlights here:

https://hackaday.io/project/169948/logs?sort=oldest

And for more information on the minimum cpu (MCPU) - you can find that here:

https://github.com/cpldcpu/MCPU


Mon May 03, 2021 12:30 pm

Joined: Wed Jan 09, 2013 6:54 pm
Posts: 1647
Nice!

There's a curated list of homebrew CPUs here:
https://hackaday.io/list/25846-homebrew-cpu
(of course not a complete list, even of hackaday projects)


Mon May 03, 2021 7:28 pm

Joined: Mon Aug 14, 2017 8:23 am
Posts: 157
That's a good selection Ed,

Should keep me in reading material until I get my second jab!


Mon May 03, 2021 11:33 pm

Joined: Mon Oct 07, 2019 2:41 am
Posts: 273
Trinary logic, would give nice front panel with red/green leds used as logic. black for off. red for -1 green for +1.
Could 9 trits make a simple cpu? Ben.


Tue May 04, 2021 2:29 am
 [ 4 posts ] 

Who is online

Users browsing this forum: CCBot and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software