首页›发现›科技›Ken Shirriff

Ken Shirriff

Atom运行正常
访问网站
文章数25
更新频率每月约 1.3 篇
最近抓取16分钟前
订阅方式Atom
订阅地址https://www.righto.com/feeds/posts/default

最近的文章

订阅后,这些文章和以后的新文章都会出现在你的阅读器里

Reverse engineering a vintage diode-transistor logic chip

AI 摘要While examining unidentified vintage ICs, the author reverse engineered a chip under a microscope and determined it was the Signetics ST680A from 1965, a quad NAND gate implemented with diode-transistor logic (DTL), part of the first IC family offered in a plastic DIP package. The article explains the chip's construction from bipolar transistors, diodes, and serpentine resistors, as well as how DTL NAND gates operate. Notably, the same silicon die was reused for at least three different chips (the 680A, 670A, and 616A) by applying different metal layers, a cost-saving technique Signetics used for both semi-custom and standard ICs.

Inside the Intel 8087 chip: floating-point addition and subtraction

AI 摘要This article examines the Intel 8087, a 1980 floating-point coprocessor that dramatically sped up arithmetic in the IBM PC, focusing on how its microcode and circuitry implement floating-point addition and subtraction. By decapping the chip and studying its die, the author explains key components such as the microcode ROM, the 80-bit datapath, the 69-bit integer adder, and the bit shifter. It also walks through the algorithm: aligning exponents by shifting significands, performing integer addition or subtraction, normalizing the result, and handling special cases like zero results, negative outcomes, infinities, and denormalized values.

Inside a 1980s filter chip that uses switched capacitors

AI 摘要The author analyzed a mysterious Harris IC labeled 'F1-10-5' and identified it as Harris's 1985 version of the MF10 switched-capacitor filter chip from National Semiconductor. The chip implements analog filters by rapidly switching 72 small polysilicon capacitors in and out of the circuit with CMOS switches, replacing resistors so that filter accuracy depends on stable capacitance ratios and a precise clock frequency rather than on-chip component values. Using a state variable filter design with three op-amps per filter, the chip provides high-pass, band-pass, and low-pass outputs while employing isolation rings, shield layers, and other techniques to suppress clock switching noise.

Reverse-engineering the vintage Intel 8087's tangent algorithm: more than CORDIC

AI 摘要The article describes how the author reverse-engineered Intel's vintage 8087 floating-point chip—by examining its die and microcode—to explain the algorithm behind its FPTAN tangent instruction. The 8087 combined the CORDIC algorithm (16 iterations using precomputed special angles) with a Padé approximant rational polynomial (3x/(3-x²)) applied to the tiny residual angle, achieving 64-bit accuracy while avoiding a costly division since the instruction returns separate numerator and denominator values. The three-phase process—pseudo-division to determine CORDIC decision bits, rational approximation of the remaining angle, and pseudo-multiplication to apply the rotations—let the chip compute a tangent in 90 microseconds versus 13,000 microseconds on the 8086.

Microcode in Intel's 8087 floating-point chip: the scale instruction

AI 摘要This article examines the microcode of Intel's 8087 floating-point coprocessor, focusing on the FSCALE instruction, which scales a floating-point number by a power of two much faster than a full multiplication. Although FSCALE seems trivial—just adding an integer to the number's exponent—the author, working with the Opcode Collective to reverse-engineer the chip's microcode, finds it uses over 140 micro-instructions and three levels of subroutine calls to handle special cases such as zeros, NaNs, denormals, and overflow/underflow. Along the way, the analysis illustrates key parts of the 8087's datapath, including the shifter, adder, and exponent converter, and reveals a hidden feature of the chip.

Cores in space: The core memory module from a 1980 Spacelab computer

AI 摘要This article examines the magnetic core memory module from the Mitra 125 MS, the French-built minicomputer used in the 1980 Spacelab laboratory flown aboard the Space Shuttle. It explains how core memory works—storing bits in tiny ferrite rings using coincident current addressing, with sense, inhibit, and diode matrix circuitry for reading and writing data. The Spacelab computer's 128 KB of RAM was spread across four core plane boards holding 18-bit words, making it a notably advanced and high-density core memory design for its late date.

Energizing a vacuum-tube flip-flop module from a 1948 IBM system

AI 摘要The article examines the IBM 604 Electronic Calculating Punch, a 1948 plugboard-programmed calculator built from pluggable vacuum-tube modules, focusing on the TR-3 'trigger' module, a flip-flop made from a dual-triode tube arranged as two cross-coupled inverters that stores one bit of state. The author reverse-engineered the module, explaining how triode vacuum tubes function as inverters, how level-shifting with a large negative bias voltage makes the cross-coupled loop work, and demonstrated the restored module switching states with input pulses. It concludes by tracing the trigger circuit back to the 1918 Eccles-Jordan design and highlighting state storage as a crucial, under-appreciated step toward step-by-step digital computation.

Examining circuit boards from the Space Shuttle's I/O Processor

AI 摘要The article examines two circuit boards ('pages') from the Space Shuttle's I/O Processor, a programmable computer more complex than the main CPU that linked the Shuttle's systems to the CPU via 24 high-speed data bus networks. One page, the MIA (Multiplexer Interface Adapter), provided four network interfaces using custom Motorola chips and Manchester encoding, while the other stored the IOP's microcode in fuse-blowing PROM chips. The IOP featured an unusual multi-threaded architecture, running 25 virtual processors with two different instruction sets on a single physical processor.

The adder at the heart of Intel's 8087 floating-point chip

AI 摘要This article examines the 69-bit adder at the heart of Intel's 1980 8087 floating-point coprocessor, explaining how it was reverse-engineered from die photos. The adder achieves speed by dividing addition into 4-bit blocks that use the Manchester carry chain technique—computing Generate, Propagate, and Delete signals in parallel—along with carry-skip circuits and precharged NMOS transistors to optimize performance. The author also details the adder's physical layout on the chip and its extra bits for rounding and two's complement handling, while noting that even with these optimizations, an addition requires two clock cycles.

Powering up a module from the IBM 604: an electronic calculator from 1948

AI 摘要The IBM 604 Electronic Calculating Punch, introduced in 1948, was a plugboard-programmable calculator that bridged electromechanical punch-card machines and electronic computers, becoming a commercial success with over 5600 units produced. A key innovation was its pluggable modules, each packing a vacuum tube with its associated circuitry, which enabled dense three-dimensional packaging, mass production, easy maintenance, and influenced IBM's later vacuum-tube computers. The author powered up a thyratron tube module from the 604, demonstrating how the xenon-filled tube acts as a high-current switch that remains on until its power is cut off.

Microcode inside the Intel 8087 floating-point chip: register exchange

AI 摘要The article examines the microcode of Intel's 1980 8087 floating-point coprocessor, focusing on the FXCH instruction that exchanges two floating-point registers on the chip's register stack. Using die photos taken under a microscope, the author, as part of the Opcode Collective, reverse-engineers the 14 micro-instructions that implement the exchange, explaining how values move through temporary registers and how conditional jumps work. The microcode also handles error cases: if a register is empty, the instruction raises an invalid-operation exception and substitutes the special Not a Number (NaN) value.

Reverse engineering circuitry in a Spacelab computer from 1980

AI 摘要The article describes the author's reverse engineering of an Arithmetic/Logic Unit (ALU) board from the Mitra 125 MS, the French-built minicomputer that controlled the European Spacelab laboratory flown aboard the Space Shuttle. Since this 1980-era computer contained no microprocessor, its processor was constructed from TTL chips on circuit boards, including eight 74181 ALU chips combined to form a 32-bit ALU—likely to speed up multiplication and floating-point operations. The author details the board's multiplexers, registers, carry-lookahead circuitry, and construction features such as hole-grid PCBs, heat-dissipating metal bars, and keyed connectors.

The electromechanical angle computer inside the B-52 bomber's star tracker

AI 摘要Before GPS, the B-52 bomber used an automated celestial navigation system called the Astro Compass, whose Astro Tracker optically locked onto stars using a telescope, photomultiplier tube, and gyroscope-stabilized platform. Since digital computers weren't practical in the early 1960s, the trigonometric calculations converting a star's celestial coordinates (sidereal hour angle and declination) into local azimuth and altitude were performed by the Angle Computer, an electromechanical analog computer that physically modeled the celestial sphere. The article explains the principles of celestial navigation, the underlying coordinate systems and navigational triangle math, and how the system's 19 components, synchros, and control panels worked together to produce highly accurate headings.

The rise and fall of IBM's 4 Pi aerospace computers: an illustrated history

AI 摘要The article chronicles IBM's System/4 Pi family of aerospace computers, introduced around 1967, detailing the first-generation TC, CP, and EP models—their designs, performance, and roles in systems like the A-7, F-111, A-6E aircraft and the Skylab space station. It then covers the more advanced 32-bit second generation (AP, SP, CC, and ML lines), most famously the AP-101B computers that controlled the Space Shuttle. The author notes that despite their importance, documentation on these machines is scarce, and fills in gaps using marketing brochures and articles, with illustrated technical details such as core memory, circuit 'page' construction, and microcoded architectures.

Instruction decoding in the Intel 8087 floating-point chip

AI 摘要This article explains how instruction decoding works inside the Intel 8087 floating-point coprocessor, based on the author's reverse-engineering of the chip's silicon die. It describes how the 8087 cooperates with the 8086/8088 by watching the bus for ESCAPE opcodes and offloading memory address computation to the main processor, and how instructions built from ESCAPE opcodes and ModR/M bytes are interpreted. Rather than using a large ROM, the 8087 maps instructions to 22 microcode entry points using a combination of logic gates and Programmable Logic Arrays (PLAs), with pre-processing techniques to reduce the decoding circuitry's size.

Notes on the Intel 8086 processor's arithmetic-logic unit

AI 摘要This article explores the control circuitry of the Intel 8086 processor's arithmetic-logic unit (ALU), explaining how machine instructions are executed through microcode micro-instructions that first configure the ALU and then retrieve its result in a separate step. It details how hardware components—including latches, flip-flops, Programmable Logic Arrays (PLAs), the XI multiplexer, and lookup-table (LUT) circuitry—decode instructions and generate the control signals needed to reconfigure the ALU for its 28 operations, handling special cases such as carry handling, BCD adjustments, and shifts. The author concludes that this pervasive complexity reflects the 8086's CISC design, in contrast to the simpler circuitry of RISC processors.

Conditions in the Intel 8087 floating-point chip's microcode

AI 摘要The article describes reverse-engineering the Intel 8087 floating-point coprocessor's microcode, focusing on the 49 conditional tests that its microcode engine uses to control jumps, subroutine calls, and returns within the 1648 micro-instructions stored in the chip. Based on microscope photos of the silicon die, the author explains how a distributed tree of pass-transistor multiplexers selects one of 64 possible conditions (49 implemented) based on bits in each micro-instruction, reducing long-distance wiring across the chip. The conditions range from simple checks like zero or negative values to specialized tests involving instruction opcode bits, register tag bits, rounding modes, and exception handling.

The stack circuitry of the Intel 8087 floating point chip, reverse-engineered

AI 摘要This article presents a reverse-engineering of the Intel 8087 floating-point coprocessor (1980), focusing on the register stack circuitry that implements its eight 80-bit registers organized as a stack with a top-of-stack pointer. Using die photos with the metal layer removed, the author explains how each bit is stored in a six-transistor static RAM cell arranged in an 8×80 grid, along with the decoder that selects registers, the tag bits that track register status, and optimizations like parallel metal lines to reduce polysilicon resistance delays. The stack control circuitry uses a 3-bit carry-lookahead adder for register offsets and toggle flip-flops to increment or decrement the top-of-stack pointer as values are pushed and popped.

Unusual circuits in the Intel 386's standard cell logic

AI 摘要The article examines the standard cell circuitry in the Intel 386 processor, which Intel adopted to meet its schedule by using automated 'place and route' layout software instead of manual transistor layout. The author identifies several unexpected circuits in these automatically generated regions: surprisingly large multiplexers built from CMOS switches, a single 'misplaced' transistor sitting outside the standard cell columns (likely a manual bug fix), and what initially appeared to be inverters but turned out not to be.

Solving the NYTimes Pips puzzle with a constraint solver

AI 摘要The author describes using the MiniZinc constraint modeling system to solve the New York Times' new daily Pips puzzle, expressing the puzzle's domino-placement rules as constraints rather than procedural code and finding that solvers were easy to learn and typically produced solutions in milliseconds. However, they encountered complications such as the solver generating thousands of technically-valid but unwanted solutions, cryptic 'unsatisfiable' results when constraints contained mistakes, and unpredictable performance that varied widely depending on the solver backend (e.g., switching from Gecode to Chuffed). The article concludes with an explanation of how constraint solvers work internally, using search trees, backtracking, variable-ordering heuristics, and constraint propagation to prune the exponential search space.