feature article
Subscribe Now

MIPS: Many Interesting Possibilities for Students

Imagination Gives Universities a Free MIPS Processor to Learn From

Trade schools and universities are two sides of the same educational coin. Broadly speaking, trade schools teach you how to work with your hands, while universities teach you how to hunt for low-wage jobs. No, wait… that’s liberal arts colleges.

Trade schools teach skills. Universities teach politics. No, that’s not it, either. Universities feed your head, medical schools your heart, trade schools your hands, and health… is uh, the 4-H Club.

Whatever the actual institution, most students studying Computer Science or Electrical Engineering rarely get to see inside an actual, working microprocessor. Mechanics studying at trade schools tear down real cars all the time. Med students intern at hospitals and get to see actual squishy stuff. But budding processor designers typically make do with simulation models or toy architectures. Imagination Technologies wants to change that.

Starting later this year, Imagination is offering a free MIPS microprocessor license to educational institutions. The deal includes a specific configuration of the MIPS architecture geared toward FPGA implementations, along with the software tools required to write real code. The idea is that engineering students will get to see how a working microprocessor is designed in the real world, as opposed to a sanitized or hypothetical model used purely for teaching purposes. It’s a warts-and-all approach to CPU architecture.

Not that MIPS has many warts. As one of the canonical RISC processor architectures from the 1990s, MIPS is about as streamlined as they come while still having some practical value. It’s got all the features you’d want to see – execution pipeline, orthogonal register set, useful instruction set, and so on – implemented in a time-tested and practical manner. In short, it’s a real processor, not a teaching toy.

What students will get is one of the many variations of the MIPS 4K family that includes cache and MMU, but not an FPU or any DSP extensions. Thus, it’s a 32-bit integer core with a five-stage pipeline and the code-compressed microMIPS instruction set in addition to the standard 32-bit instruction set. Imagination didn’t create a special version just for the academic program. Instead, the company just cherry-picked from the list of existing configuration options to come up with an implementation that made sense: complex enough to be useful and educational, but not so overburdened with add-ons that it obscured the basic workings of the CPU core. And so that they wouldn’t give away too much IP for free.

So why is Imagination giving away one of its crown jewels? The company is the first to admit that its motives aren’t entirely altruistic. “There is a certain amount of self-interest,” says program director Robert Owen. “We want MIPS-literate graduates coming out of university when they go looking for a job.” At the end of the day, “it’s a business-development program.”

But starting and running an educational program involves a lot more than just throwing RTL at college students and waiving the license fees. To be successful, Owen says, requires four things: academic-focused course materials, suitable software tools, a cheap hardware platform, and appropriate support. It’s that first part – the teaching materials – that are the most difficult for a commercial entity to develop. So Imagination hired University of Nevada at Las Vegas (UNLV) professor Sarah Harris to write the course materials. In fact, it was Harris’s husband and coauthor, David Harris, who configured the MIPS microAptiv core for the university program.

Unencrypted RTL is part of the deal, so students can see exactly how this particular CPU is implemented. “Don’t obfuscate it,” was one of the mantras of the program. As much as Imagination may have wanted to clean up the design, that would have defeated the purpose. Students can already find plenty of neat, tidy RTL models. The point here was to see how real engineers implement real CPU cores. Owen admits that there are some parts of the microAptiv design that may appear a bit, uh, nonstandard to incoming students. But that’s all part of the plan. 

Educational users are free to implement the CPU in any FPGA they like, and the company recommends a couple of low-cost development boards for that purpose. The academic license also permits students (and their instructors) to modify the CPU design if they’re feeling ambitious. The only restriction is that you can’t modify the processor and then patent your changes without first talking to Imagination Technologies; this avoids awkward situations where the company is locked out of its own processor. You also can’t implement the CPU in “real” silicon; FPGA only, please. Anything else would tend to annoy commercial licensees who presumably paid real money for their MIPS microAptiv licenses. Like Microchip.

There are plenty of other free or open-source processor designs out there. Why would students want to learn on MIPS and not on, say, OpenRISC or RISC-V? I mean, c’mon, RISC-V was even invented by a Berkeley professor and CPU designer extraordinaire specifically as a teaching aid.

Because MIPS is a commercial success, unlike those other CPUs. They might make great teaching tools, but they’re not often found in the wild. Detailed knowledge of RISC-V circuitry won’t get you a job; knowing how to create a working MIPS processor just might. On the other hand, learning MIPS is probably easier than reverse-engineering ARM, and certainly less traumatizing than spelunking the Stygian depths of an x86 processor.

A free and only very lightly encumbered MIPS license has got to be a good thing for everyone concerned. Students and faculty get a live processor to train on, sort of like training medical students on real cadavers instead of plastic models. Imagination Technologies gets its star CPU in front of a few hundred impressionable students. And current MIPS licensees get a slightly improved outlook for hiring trained talent. It’s a Multiple Independent Personnel Satisfier. 

Leave a Reply

featured blogs
Dec 8, 2023
Read the technical brief to learn about Mixed-Order Mesh Curving using Cadence Fidelity Pointwise. When performing numerical simulations on complex systems, discretization schemes are necessary for the governing equations and geometry. In computational fluid dynamics (CFD) si...
Dec 7, 2023
Explore the different memory technologies at the heart of AI SoC memory architecture and learn about the advantages of SRAM, ReRAM, MRAM, and beyond.The post The Importance of Memory Architecture for AI SoCs appeared first on Chip Design....
Nov 6, 2023
Suffice it to say that everyone and everything in these images was shot in-camera underwater, and that the results truly are haunting....

featured video

Dramatically Improve PPA and Productivity with Generative AI

Sponsored by Cadence Design Systems

Discover how you can quickly optimize flows for many blocks concurrently and use that knowledge for your next design. The Cadence Cerebrus Intelligent Chip Explorer is a revolutionary, AI-driven, automated approach to chip design flow optimization. Block engineers specify the design goals, and generative AI features within Cadence Cerebrus Explorer will intelligently optimize the design to meet the power, performance, and area (PPA) goals in a completely automated way.

Click here for more information

featured paper

Power and Performance Analysis of FIR Filters and FFTs on Intel Agilex® 7 FPGAs

Sponsored by Intel

Learn about the Future of Intel Programmable Solutions Group at intel.com/leap. The power and performance efficiency of digital signal processing (DSP) workloads play a significant role in the evolution of modern-day technology. Compare benchmarks of finite impulse response (FIR) filters and fast Fourier transform (FFT) designs on Intel Agilex® 7 FPGAs to publicly available results from AMD’s Versal* FPGAs and artificial intelligence engines.

Read more

featured chalk talk

Optimize Performance: RF Solutions from PCB to Antenna
RF is a ubiquitous design element found in a large variety of electronic designs today. In this episode of Chalk Talk, Amelia Dalton and Rahul Rajan from Amphenol RF discuss how you can optimize your RF performance through each step of the signal chain. They examine how you can utilize Amphenol’s RF wide range of connectors including solutions for PCBs, board to board RF connectivity, board to panel and more!
May 25, 2023
23,639 views