The Electronics of IBM Standard Modular System Logic

A project log for Hackaday TTLers

Where DIY DIP/SSI/MSI CPU makers meet and discuss other TLA (three letters acronyms)

Blair Vidakovich 03/27/2018 at 06:079 Comments

Introduction

Okay! We’ve had a look at the Diode-Transistor Logic of the DEC R-Series Logic, but that isn’t the only electronic logic system that was employed in building discrete discrete component computers. As I explained in the post on R-Series logic, back in 2013 it was some IBM computer which implemented an exotic electronic logic system which lead me to go down the “popular” DTL path. I will continue my investigation into different logic systems in this post with the IBM Standard Modular System (SMS) logic. IBM SMS logic doesn’t just implement specific systems of logic families, but also whole different logic families! The IBM SMS uses what is now known as Emitter-Coupled Logic (ECL), as well at Resistor-Transistor (RTL) logic and DTL. ECL is a very difficult logic family, and RTL is unpopular in hacker circles, so we will look at the IBM SMS DTL logic implementation first, and then just look at their ECL circuits. The Don Lancaster RTL Cookbook is sufficient really for people who wish to build discrete component RTL computers.

IBM Standard Modular System Diode-Transistor Logic

I have obtained the electronic description of the different IBM logic implementations from the IBM Transistor Component Circuits volume of the Customer Engineering Manual of Instruction. You can find this manual easily by searching the above words on the internet. There are also manuals describing the exact electronic schematics of the flip-chip cards used in IBM mainframes such as the 7070 and the 7090. They’re worth a look if you want some inspiration for solving a particular concrete problem.

Logic Levels

The SMS DTL system uses four different logic levels. They are divided into two fundamental kinds, “T” line levels and “U” line levels.

As you can see, positive T levels swing from -0.7V to 6.0V, whereas negative T levels swing from 1.4V to -6.0V. Positive U levels go from 0V to -7.4V, and negative U levels move from -5.3V to -12V. There are schematics in the Transistor Component Circuits manual for how to convert T and U lines to each other. They’re not worth mentioning here because we don’t need to get into that much detail.

The Fundamental Gates

Below you can find the schematic for the fundamental positive-logic NAND gate, or negative-logic NOR gate. IBM doesn’t use the standard terminology for these gates, probably because the manuals for this system were written in the late-50s early-60s, before the terminology settled to what we know today. You’ll also notice that the symbols for transistors here are also non-standard by contemporary wisdom. The same reason should apply here. We won’t concern ourselves here with the physical electronic characteristics of the transistors and the diodes. I’ll put some work into that later.

There are three gates specified here. As you can see:

1. It is possible to interface the output of a DTL gate into ECL gates.
2. The first gate (at the top) takes a +U logic level and outputs a -T logic level.
3. The second gate (Gate “A”) takes a +U input and outputs a +T logic level.
4. The third gate (Gate “B”) is similar to the first one: it recieves a +U level, and outputs a -T level, as well as being able to interface with ECL gates.

It is possible to take T-line inputs and output U-line logic:

These gates can drive ECL gates as well! Note well that the T-line inputs for the above gates are NEGATIVE T line levels (-T levels).

There are other inverters specified in this manual, such as “Power Inverters”, which drive bigger loads and have bigger gate fan-outs. You can peruse the manual to look at those at your leisure.

There are also emitter-follower gates, which amplify the current of signals. There are also circuits for driving indicators connected to T and U line signals.

Basic Flip-Flops

Below you can find the schematic for a basic IBM SMS flip-flop:

This complex flip-flop can be set with what IBM describe as “AC signals” and “DC signals”. I assume they mean changing digital signals for “AC” and static current signals for “DC”.

It also outputs U and T level signals. The emitter-follower outputs at the bottom are T-level, and the inverter outputs at the top are U level. If I am right, there are both the POSITIVE versions of these signals.

Miscellaneous

There are a great deal of other gates specified in this manual which may interest the reader. They are debouncers, oscillators, more logic level converters, and so on. Check out the manual for a better look.

IBM Standard Modular System Emitter-Coupled Logic

Logic Levels

Below you can find the definition of the four different forms of logic levels that IBM’s SMS ECL uses:

The Positive and Negative P and N levels are fairly reminiscent of the T and U lines of IBM SMS DTL. As you will see as we look at the basic gates of SMS ECL, the actual voltages that the gates use will be much much closer together than in SMS DTL. This is because electrical current is the bearer of logic meaning in ECL. The whole point of ECL gates is to very quickly switch electrical current with transistors that are NOT saturated or cut off. This makes ECL a much faster logic family to use, but it also means ECL uses a great deal more power, because ECL systems typically have large amounts of current flowing through them. The greater the current, the higher the amount of power the system ends up using.

Fundamental Gates

Below please find two schematics for the fundamental Positive AND and Negative OR gate:

and Negative AND and Positive gate:

They respectively take N and P inputs, and output both in-phase and out-of-phase opposite fundamental logic level outputs. That is, if you feed the first gate, the Positive AND gate, an N level signal, it will output a P level signal of both phases: +P and -P. The opposite goes for the Negative AND: a P input and an N output.

There are other circuits specified in the manual - Emitter followers, for driving large numbers of gates, and Power Inverters, which convert ECL logic into DTL logic.

I am actually amazed about how it is possible to combine different logic families together into one computer. It just goes to show that if you have a lot of time, energy and resources, you can construct incredibly eclectic systems.

Here is the schematic for an N-level ECL to U-level DTL converter, for instance:

There are also line drivers, transmission drivers, indicator drivers, and more in this manual.

Basic Flip-Flops

IBM SMS ECL flip-flops are incredibly complex. In fact I think they may be of absolutely no use whatsoever to the ordinary hacker - they require many capacitors and inductors. See below:

The flip-flop does also not receive or output DC signals. It is a purely AC operated gate. I now revise what I took “AC signal” to mean - it is an entirely analogue current signal. Perhaps this is incorrect, but as you can see below, basic flip-flops made from AND and OR gates are called “DC triggers”:

As the schematic shows, you need to delay input signals to make sure you don’t create racing conditions, which would cause the flip-flop to enter a state of feedback.

Conclusion

Hopefully someone finds this useful! As always, for more information, see my blog http://bootlicker.party/

Discussions

Yann Guidon / YGDES wrote 05/24/2020 at 16:02 point

@Blair Vidakovich  The pictures have disappeared :-(

Are you sure? yes | no

Yann Guidon / YGDES wrote 03/29/2018 at 00:52 point

Now, this makes more sense.
https://hackaday.io/project/13409/log/51014-complementary-ecl has a figure with "complementary ECL" :

So the low-fanout gates would alternate between PNP and NPN, as I thought. Your drawings just showed how the individual gates are created :-)

Are you sure? yes | no

Blair Vidakovich wrote 03/27/2018 at 21:56 point

I do plan to cover a few more DTL systems - I will include the IBM Solid Logic Technology, and I can do CDC's!

Are you sure? yes | no

Blair Vidakovich wrote 03/27/2018 at 21:54 point

There are even faster gates in the IBM SMS specification - "diffused junction logic" although I have no idea what it actually is!

Are you sure? yes | no

Yann Guidon / YGDES wrote 03/27/2018 at 22:07 point

"Diffused" is a type of transistor, coming after the original point-contact then the junction.
After diffused transistors came the epitaxial (still in use today).
Diffused alloys were faster than before because the capacitance and other aspects were better, the transition frequency could reach like 50MHz in the late 50s.

I have the following generation : AF240, germanium PNP "Mesa" (using some sort of early epitaxial system) with even higher transition frequency.

Are you sure? yes | no

Yann Guidon / YGDES wrote 03/27/2018 at 18:57 point

I'm still shaking my head about the ECL thing, since I've examined "integrated" versions with way more transistors. Sure, some of the transistors are used as current generators to replace the resistors and the higher voltages (which waste quite a lot of power). But the "minimalistic" ECL gates are mind-boggling...
ECL flip-flops seem to be quite a challenge, even back in the days :-D

From what I had read, these types of "early ECL" could be cascaded from NPN to PNP and vice versa to avoid the use of amplifiers/buffers/adapters. That's why I ordered both NPN and PNP discrete transistors for some of my projects :-)

Are you sure? yes | no

Yann Guidon / YGDES wrote 03/27/2018 at 11:25 point

Will you cover CDC's DCTL ? Thornton's book covers it but sounds pretty obscure due to the now-obsolete conventions :-)

Are you sure? yes | no

Yann Guidon / YGDES wrote 03/27/2018 at 10:05 point

Another Awesome Log ! Thanks for your time and dedication !

Are you sure? yes | no