The EDSAC Replica Project Andrew Herbert, with thanks to Chris Burton, July 2012 Electronic Delay Storage Automatic Calculator
Mar 26, 2015
The EDSAC Replica Project
Andrew Herbert, with thanks to Chris Burton, July 2012
Electronic Delay Storage Automatic Calculator
The Proposition
Project Organisation
Feasibility Studies
Costs and Timescale
The EDSAC Replica Project
An enquiry in 2010 by Hermann Hauser, well-known Cambridge technology entrepreneur:
“Would it be feasible to build a replica of the famous EDSAC?”
Assume the goal is to replicate the machine as it was in May 1949 when it ran its first program
Let it be a tangible tribute to Maurice Wilkes, though he was somewhat sceptical about the proposal!
The Proposition
1. The first machine to provide a “computing service”
• Conservatively designed, highly reliable
• Mathematicians, scientists, engineers at Cambridge University) took turns to use it as a personal computer
• Contributed to Cambridge scientific advances in astronomy, X-ray crystallography and many other fields
2. The biggest single leap in computing power ever
• 1,500x speed of the mechanical calculators it replaced
3. The first machine to read in symbolic programs (as opposed to patching, hand keying etc)
• Hardware “initial instructions” embodied a relocating assembler to read in user’s program and library routines from paper tape.
Edsac Firsts
Overall Organisation
EDSAC Replica Limited
A charitable trust
Sponsors + University of Cambridge + BCS
Management Board
CCS + TNMoC + Project Manager
The Replica
Project Manager + volunteers
Fundraising
Ownership
Legal
Overall operations
Day to day operations
Key Facts for Programmers
Two registers: accumulator and multiply
512 words of memory
35 bit memory: two 17 bit half words plus “sandwich digit”
Fixed point arithmetic
Paper tape input
Teleprinter output
Initial instructions embody simple assembler
Order Code
• A n a += [n]• S n a -= [n]• H n m := [n]• V n a += m*[n]• N n a -= m*[n]• T n n := a;
a := 0• U n n := a• C n a +=
m&[n]• R 2n-2 a := a >>
n
• L 2n-2a := a >> n• E n jmp if a<0• G n jmp if a≥0• I n n:=input• O n output:=[n]• F n check• X no op• Y round a• Z stop
F (5) n (10) L-
EDSAC Architecture
Automatic Digital Computers, M.V. Wilkes, 1956
Mercury Delay Line MemoryMaurice Wilkes with a battery of 16 storage tanks
Each tank holds 16 x 36 bit words as a train of acoustic pulses
Computer has to synchronize with the memory
From Edsac Report
Serial Computing
Most of EDSAC is serialProcess one bit of a word at the timeReduces number of components needed
Decoding and Coincidence
Automatic Digital Computers, M.V. Wilkes, 1956
Have to go parallelto decode functionnumber and memoryaddress
Building the Replica
AuthenticityWe don’t have a complete blueprint, so we aim to...
be consistent with photographs and contemporary records
use period components and circuits whenavailable
use camouflaged modern components otherwise
adhere to EDSAC architectural principles(i.e., serial processing) when designing
Feasibility Studies
Documents & knowledge acquisition
Physical design
Logic design & simulation
Electronic design & experiments
Acquisition of parts
Areas of work not started
Skills required
Documents & Knowledge Acquisition Original technical description &
diagrams from Cambridge Computer Laboratory archives
Original photographs & published papers
Recollections of pioneers
All collected in project Dropbox
EDSAC ran for 10 years so need to understand the evolution of the machine. (our target 6th May 1949)
Physical Design
The above chassis has been drawn up and a sample made
Scanning and measuring from photos
An original chassis exists to measure
12 racks, 120 chassis (“panels”)
We don’t know how many types of chassis there were, or where they were placed in the racks
Logic Design & Simulation
Need to know how EDSAC works in detail
Incomplete & inconsistent diagrams
Evidence of much re-design during commissioning
Need to extrapolate undocumented areas of logic
Simulation essential to give confidence before committing to building anything
From Edsac Report
Typical Logical Diagram
From Edsac Report
Typical Timing Diagram
Logic Simulation
Bill Purvis has written a simulator for whole logic - can run a program, very slowly.
Several areas such as reader and printer modelled as ‘black boxes’
Electronic design Electronic design is incomplete and lots
of redesigning went on during commissioning
AC-coupled circuits - unfamiliar!
AND-gate uses 3 pentodes and 3 diodes
Main components: flip-flop, inverter, short delay, pulse amplifier
Experiment shows stage delay is very short
Requires many lumped-constant delays
From Edsac Report
Typical Circuit Diagram
Mapping Logic to Circuits to Chassis
Use photos to try to guess what each chassis does
Physical location of more than half the logic is now understood - the easy bits!
Some partial clues from logic diagrams
Mapping Logic to Chassis
Memory Tanks
Maurice Wilkes with a battery of 16 storage tanks, each 16 x 36 bit words
The 5 ft steel tubes contain mercury as the acoustic delay medium
Replica Memory Tanks Risky and costly to use mercury, except
perhaps in one example tank
Precision engineering required: tubes and end plates – aligned to within 0.001” end-to-end
Will use nickel delay lines as a reasonable alternative
Use semiconductor shift registers to get off the ground quickly
Acquisition of Parts
Many, but not all, valves are available and already to hand
B9G valveholders will be problematic
Authentic ‘period’ resistors and capacitors may be difficult to find and too unreliable to use
Lumped-constant delay lines need to be made, lots of coils to wind
Areas not yet looked at
HT power supply - +250v at say 15 amp
Negative power supplies
Electrical hazard of open circuit wiring
The ‘three oscilloscope unit’
Tape reader
Teleprinter
Skills mix needed
Understand logic and map to electronic circuits
Map electronic circuits to individual chassis
Wiring up 120 chassis - 3000 valves – 60,000 solder joints!
Ability to track down lots of components
Delicate manipulative skills for delay lines
Some circuit design capability for replica store
Costs and Timescale
Preliminary estimates indicate cost in the region of £250,000
With adequate availability of volunteers to do the construction, it could take 3-4 years
Current Status
In addition to design research reported here…
Charity registered and bank account opened
Initial donations to fund first year
Detailed planning started
Initial milestones – pulses, counting, storing
Work in Progress
Demonstrate EDSAC Pulses: Clock Pulse Generator and Digit Pulse Generator chassis operation
Demonstrate Counting: Clock Pulse Generator + Half Adder + Short Tank
Demonstrate Store Cycles: Address Decoding + Store Regeneration + Long Tank
The EDSAC Replica Project
Electronic Delay Storage Automatic Calculator