A project posted on chrisfenton.com describes a 1/10-scale, binary-compatible, cycle-accurate Cray-1A built over about a year and a half. The logic runs on a Xilinx Spartan-3E 1600 FPGA board, filling roughly 75% of the logic and all of the block RAM. The result clocks at about 33 MHz with 4 kilowords of memory, against the original machine’s 80 MHz and up to 32 megabytes.
The Cray-1 design is fully pipelined, with 12 execution units and vector registers holding 64 values each. There’s no divide instruction, since it would take a variable number of cycles. Instead you compute a reciprocal approximation in exactly 13 cycles, then multiply.
Finding software turned out to be the hard part. The Computer History Museum had none, SGI reportedly destroyed Cray’s software archives in the late 90s, and FOIA requests came up empty. Early programs were hand-assembled in octal.…