MIT's course 6.884, Complex Digital Systems, ended with six student teams designing real digital systems: out-of-order processors, a DRAM memory access scheduler, a cache-coherent ring network and an 802.11a wireless transmitter. Their final presentations and reports are still online on the course site, and they remain some of the clearest worked examples of how a large digital design is specified, built, verified and measured. This post lists every project with direct links, then looks at what each one teaches.
About the course
6.884 Complex Digital Systems ran in Spring 2005, taught by Professor Arvind and Professor Krste Asanovic. The course page describes it as a project-oriented course on designing multi-million-gate CMOS VLSI chips with high-level synthesis tools alongside standard commercial EDA tools. The first half covered technology and scaling, delay and power of gates and wires, cell-based ASICs and FPGAs, Verilog and Bluespec, clocking, power distribution and testing, with weekly labs. In the second half, students worked in small groups on large chip design projects.
According to the projects page, the final projects took six weeks. Teams could pick from suggested project ideas, built around an SMIPS processor and a non-blocking memory system with testbenches, or propose their own.
The six final projects
- Out-of-Order SMIPS Processor Using Tomasulo's Algorithm, Cliff Frey and Vicky Liu. Final presentation [PDF, PDF-4UP], final report [PDF]. Useful if you want to see register renaming through reservation stations, plus a commit stage for precise exceptions.
- Memory Access Scheduler, Matt Cohen and Alvin Lin. Final presentation [PDF, PDF-4UP], final report [PDF]. A readable introduction to reordering DRAM requests by bank and row.
- Cache-Coherent Memory System Using a Ring Network, Albert Chiou and Mat Laibowitz. Final presentation [PDF, PDF-4UP], final report [PDF]. Shows a snooping coherence protocol running over a ring instead of a shared bus.
- High-Performance SMIPS Processor, Jonathan Eastep. Final presentation [PDF, PDF-4UP], final report [PDF]. A clean design-space study: one baseline pipeline and three improved machines compared on the same benchmarks.
- Hardware Implementation of an 802.11a Transmitter, Elizabeth Basha, Steve Gerding and Rose Liu. Final presentation [PDF, PDF-4UP], final report [PDF]. The best of the set for seeing how a signal processing standard becomes a hardware pipeline.
- The Pipe Dream: Out-of-Order SMIPS Processor using a Reorder Buffer, Karthik Balakrishnan and Michal Karczmarek. Final presentation [PDF, PDF-4UP], final report [PDF]. A second route to out-of-order execution, worth reading next to the Tomasulo design.
Courtesy: MIT 6.884 Final Projects page.
Why these projects are still worth reading
Most published processor and memory designs are either toy examples or industrial designs described only at a high level. These reports sit in between. Each starts from a specification, explains the microarchitecture, describes how it was verified and gives synthesis results such as area and clock frequency. They also admit what went wrong, which is the part textbooks leave out. For a student planning a final-year project, or an engineer moving into architecture, they are a realistic picture of what a small team can build in six weeks.
How to use them
- Read the presentation first for the big picture, then the report for detail.
- Read the two out-of-order processors side by side: same instruction set, two different answers to the same problem.
- Use the course handouts page for the lectures and labs the projects build on, including the SMIPS processor specification and the Bluespec tutorials.
Deep dive: the numbers and details
This part holds the design details and measured results reported by each team. Skip it if the overview is all you need.
802.11a transmitter: clock rate from data rate
The team built the digital half of the transmitter: scrambler, convolutional encoder, puncturer, interleaver, signal mapper, IFFT and cyclic extension. Their implementation supports the mandatory 6, 12 and 24 Mb/s rates, using BPSK, QPSK and 16-QAM at coding rate 1/2, which gives 48, 96 and 192 coded bits and 24, 48 and 96 data bits per OFDM symbol.
Their report makes a neat point about power. The critical path through the IFFT was 64.36 ns, so the design could run at 15.54 MHz, and the IFFT took 94.8% of the area. But the transmitter processes one 24-bit input frame every 2 cycles, so the minimum clock needed is:
| Data rate | Bits per cycle needed | Minimum clock |
|---|---|---|
| 6 Mb/s | 24 bits / 2 cycles = 12 | 6 / 12 = 0.5 MHz |
| 12 Mb/s | 12 | 1 MHz |
| 24 Mb/s | 12 | 2 MHz |
So the clock can be cut from 15.54 MHz to 2 MHz or lower, a factor of nearly eight, and the voltage reduced with it. The lesson generalizes: size the clock to the throughput you need, not to the fastest the logic can go.
Memory access scheduler: reorder for banks and rows
A DRAM is split into banks, each made of rows, each holding many columns. Accesses to an already open row are fast; opening a new row in the same bank is slow; different banks can work in parallel. The team based their non-blocking memory system on the memory access scheduler of Rixner and colleagues, whose example sequence takes 56 cycles in order and 19 cycles when reordered. That is roughly a 2.9 times speed-up from scheduling alone. To connect to the processor projects they also built a cache and main memory model.
Two out-of-order processors
The Tomasulo team aimed for single-thread performance and accepted larger area. They added an in-order commit stage because plain Tomasulo does not give precise exceptions. Their report gives synthesized areas of 0.236 mm2 and 0.338 mm2 at about 300 MHz for two configurations, and notes that removing conflicts between Bluespec methods doubled IPC on the qsort benchmark, from 0.25 to 0.5. That is a reminder that in rule-based design, scheduling conflicts can cost as much as microarchitecture.
The Pipe Dream team planned a single-issue core with nine units (PC generation, fetch, decode, a PC file, rename, reorder buffer, register read, execute and retire), expecting about eight cycles before an instruction reached execution. Their design exploration list covered out-of-order execution, a branch history table, a branch target buffer and precise exceptions.
High-performance in-order SMIPS
This project started from a 6-stage, single-issue, fully bypassed pipeline with a 16 KB direct-mapped instruction cache, a 32 KB direct-mapped write-back data cache, 16-byte lines and a 6-cycle L2. It then compared machines that add early use of load data before the tag check, static backward-taken branch prediction, and a branch history table of 2-bit counters. The report lists a cycle time of 3.68 ns, about 272 MHz. Comparing machines on the same benchmarks is the habit worth copying.
Coherent ring network
The ring project implemented a three-state MSI (Modified, Shared, Invalid) write-invalidate snooping protocol with write-back caches. Snooping normally relies on a bus that every cache sees in the same order; carrying it on a ring needs tokens to keep that order. The team's first synthesis of a design with nine controllers and eight tokens came to about 1.3 mm2.
Interview angle
- "Why does Tomasulo's algorithm alone not give precise exceptions, and how does a reorder buffer fix it?"
- "Why does a memory scheduler prefer row hits, and what fairness problem does that create?"
- "For a 24 Mb/s stream processed 12 bits per cycle, what is the minimum clock?" (2 MHz.)
- "How does a snooping protocol keep ordering without a shared bus?"
Further reading
- 6.884 lectures, tutorials and labs: Verilog, Bluespec, wires, clocking, power and testing slides used before the projects.
- 6.884 Complex Digital Systems on MIT OpenCourseWare: the archived course for self-study.


Your comments will be moderated before it appears here.