Skip to main content

Store has reopened! Shipments restart Thursday, 2024-12-19. Read more...

Blog Index

Qbone Part 2: New CPLDs

Welcome to part two of our seven part series on the QBone, an all-in-one add-in card for DEC QBus PDP-11 or VAX computers. Today's post is on the challenges of part life cycle management.

/images/qbone-cpld-1.png

After we contacted Joerg to partner on manufacturing QBones, we received the initial design and bill of materials. Generally, when we look into contract manufacturing on a new design, we consider many things, including:

  • Part-specific selection criteria (parameters, price, etc.)

  • Availability of parts from multiple vendors

  • PCB layout and design optimization

  • Manufacturing steps (meaning: how do we actually assemble the units)

  • Streamlined QA process

The most serious issue we found in our initial pass: the CPLDs [1] used to interface between the isolated QBus signals and the BeagleBone were end-of-life. That means that there is still stock of the part with some vendors, but once that's gone, no new parts will be manufactured. Finding chips becomes a mix of NOS [2] chip brokers, dodgy eBay or AliExpress vendors, or private sales. While we already have to do this for other QBone components (stay tuned for Part 4!), it's something we'd rather avoid.

A quick glance at Joerg's prototype PCB manufacturing partner's inventory showed more than one hundred thousand parts in stock. So why bother?

Places like LCSC are dealing primarily with surplus stock. This happens because a big company like Dell, Lenovo, Samsung, etc. contracts with them for e.g. one million parts as part of a contract manufacturing deal in China. That deal might only consume 900,000 components. After a short waiting period of holding on to those parts (in case of re-manufacturing needs), the surplus 100,000 parts end up being sold to a 'grey' market. These are then resold locally between merchants. This is why what you find in those online inventories are so random and haphazard - not to mention the dangers of counterfeit or shady parts.

Given all of that, and our desire not to be locked in to any single source vendor, our best option was to select a new part and re-design for it. The basic design needs were as follows:

  1. Pin-to-pin transition time of 7.5ns or better, or approximately ≥ 133MHz.

  2. The QBus has 45 bidirectional lines, meaning 90 unidirectional signals, plus 3 additional unidirectional signals, for a total of 93.

  3. Each CPLD requires 20 dedicated signals for communication with the BeagleBone.

  4. The BeagleBone can natively interface with 3.3V chips, but would require additional signal conversion to work with a 1.8V CPLD. (That means more chips, more points of failure, and higher cost.)

  5. Ideally, QFP packaging for ease of assembly and rework. Failing that, QFN packages would be OK, but we want to avoid BGA as those increase assembly complexity and cost.

We investigated parts from Altera / Intel, Lattice, Xilinx, and Microchip as replacements. We ultimately chose a Lattice MachOX2 100-pin QFP part as it met all of the needs above (and more I didn't list), was readily available from multiple domestic and international suppliers, is easily programmable with JTAG, and Lattice is a community favourite CPLD/FPGA manufacturer.

/images/qbone-cpld-2.png

We had some challenges along the redesign path. Joerg had problems getting the TSALL global tristate signal to simulate correctly in Lattice Diamond. Of course, a new PCB design was also required. Then, some minor changes to the QBone software running on the BeagleBone were necessary. But, excitingly, the design worked on the first set of boards with only unrelated issues affecting first article test. Getting the first built board running RT-11 was an exciting moment!

Next time, we'll discuss another design change needed to improve QBone manufacturability.


Ever had to replace an end-of-life component? Got a good story? Get in touch with us on Bluesky at @DECromancer!



Introducing the QBone

Welcome to the DECromancer blog! As should be obvious from our name, we love vintage computing gear, especially Digital Equipment Corporation minicomputers. This is the first in a seven-part series highlighting the road to the latest addition to our product line, the QBone.

Jörg (aka Joerg) Hoppe has been working on homebrew PDP-11 hardware and software for over ten years. His Blinkenbone project brings physical front panels - both vintage and newly manufactured - back to life with realtime control from a simulated PDP. He's also embedded simulators in VT-100 terminals, built tools for diagnosing a faulty PDP-11, scanned and indexed a vast quantity of DEC diagnostics, and helped thousands of people continue to enjoy these vintage machines years past their expected lifespans should have ended.

At the Vintage Computer Festival in the Pacific Northwest, 2019, I met Joerg demonstrating his new device, the UniBone, in a compact PDP-11/05.

/images/unibone-vcfpnw2019.jpg

His description at the booth read:

„UniBone” is a newly developed interface board, which connects a Linux-driven „BeagleBone” micro-computer to a standard DEC UNIBUS slot.

UniBone helps to reanimate half-broken PDP-11s, there are so many of these!

A speciality in the BeagleBone are two real-time coprocessors, called „PRU”s. They handle time critical UNIBUS cycles, replacing a FPGA.

And so it does. Just a few months later, I had my own UniBone, installed it in my PDP-11/34, and had a working RL02 disk pack emulation. 4 virtual 10MB disk drives was a huge step up - as my /34 only had an RX02. Running it exclusively from 8" floppy disks got old fast!

Joerg was not the first to envision emulating PDP peripherals, of course. The distinct advantage provided by the BeagleBone is unmistakeable, though: by bypassing FPGA design, he was able to get a device into production quickly, and continue to improve the software with community support after its release.

We think the choice has paid off. Friend of DECromancer Josh Dersch added support for the RK11 and RK05 subsystems, then full-fledged MSCP support - bringing disk emulation to his 11/750 UNIBUS VAX.

So when Joerg announced the QBus version, the QBone, we were eager to get our hands on a prototype, and to offer to be his manufacturing partner in North America. There are many more QBus-based PDP-11s in people's hands these days than UNIBUS variants, and many of those are missing key components such as a full complement of RAM, reliable hard disks, extra serial ports, etc. We're eager to help bring these machines back to life for as many people as possible.

Within the next few days, DECromancer will start selling QBones through our store. Until then, we'll have a series of blog posts describing the process of adapting Joerg's first prototype for mass production. We want you to know about the decision making process we faced, and how this ultimately brings you a better product. Plus, a special surprise on the last day -- sure to please the most serious of collectors.

Keep up with us on Bluesky at @DECromancer, and let us know how you're using QBus in 2021!