DAVIAC-1, 2 and 3 compared

All three machines share one architecture and one instruction set. A program assembled with Hillbilly1 for DAVIAC-1 runs on DAVIAC-2 and DAVIAC-3 as it is. What changes is what the machine is made of, and so how fast it runs, how much memory it can have, and how it talks to the world.

DAVIAC-1DAVIAC-2DAVIAC-3
Built fromRelays: roughly 900, in clear cases74LS-series TTL chips on one boardAn AMD Artix-7 FPGA on a Digilent Basys 3
Described inSchematics and PCBsSchematics and a PCBVHDL
ClockMotor and cam, 0.5–40 Hz, usually about 5 Hz2 MHz crystal100 MHz, divided down
SpeedA few states a secondAbout 2 million states a second2 or 20 states a second to watch, 2 million, or 12.5 million
One instruction (7–16 states)Around a secondAbout 5 microsecondsUnder a microsecond at full speed
Instruction setThe DAVIAC instruction setThe sameThe same, plus JSR, RTS and LDSP (DAVIAC 3.5)
Address bus12 bits16 bits16 bits
ROM128 bytes, on DIP switches32 KiB EPROM32 KiB, in the FPGA
RAM128 bytes of micro-relays, plus 8 bytes of scratch RAM in large relays8 KiB (31 KiB in revision 2.04)31 KiB
Input and outputFront panel switches; the scratch RAM with a WAIT handshakeSerial terminal through a 6551 ACIA (and an 8-bit PIA in 2.04)Serial terminal through a 6551-compatible ACIA; 8-bit PIA on the Pmod connectors
What you seeAn LED on every bit, and every relay movingLED bar graphs on the registers, buses and sequencer16 LEDs and a 4-digit display, switched between registers and buses
What you hearEvery relayNothingNothing
Loading a programSet the DIP switches, or the loader writes RAM over the busProgram the EPROM, or DAVBUG's F command over the serial lineThe serial loader (it can write ROM too), DAVBUG's F command, or a new bitstream
SoftwareAssembler programs: 16-bit addition, Fibonacci, Rule 30, a subroutine handlerDavSys 325.6: DAVBUG monitor, MATHS16, DAVBAS BASICDavSys 350: the same, using JSR and RTS, about 27% faster
Try itDAVIAC Virtual, in your browser

The same program on each machine

NROOT is a DAVBAS program that works out n-th roots to many digits. Its ten test cases take 1,833 million machine states under DavSys 325.6 and 1,338 million under DavSys 350.

MachineSoftwareTime for the ten cases
DAVIAC-3, 12.5 million states a secondDavSys 350105 seconds (measured)
DAVIAC-2, about 2 million states a secondDavSys 325.6About 15 minutes (calculated)
DAVIAC-1–DavSys needs far more memory than DAVIAC-1 has. At ten states a second, the same work would take nearly six years.