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
Apr 25, 2024
Cadence's seven -year partnership with'¯ Team4Tech '¯has given our employees unique opportunities to harness the power of technology and engage in a three -month philanthropic project to improve the livelihood of communities in need. In Fall 2023, this partnership allowed C...
Apr 24, 2024
Learn about maskless electron beam lithography and see how Multibeam's industry-first e-beam semiconductor lithography system leverages Synopsys software.The post Synopsys and Multibeam Accelerate Innovation with First Production-Ready E-Beam Lithography System appeared fir...
Apr 18, 2024
Are you ready for a revolution in robotic technology (as opposed to a robotic revolution, of course)?...

featured video

MaxLinear Integrates Analog & Digital Design in One Chip with Cadence 3D Solvers

Sponsored by Cadence Design Systems

MaxLinear has the unique capability of integrating analog and digital design on the same chip. Because of this, the team developed some interesting technology in the communication space. In the optical infrastructure domain, they created the first fully integrated 5nm CMOS PAM4 DSP. All their products solve critical communication and high-frequency analysis challenges.

Learn more about how MaxLinear is using Cadence’s Clarity 3D Solver and EMX Planar 3D Solver in their design process.

featured paper

Designing Robust 5G Power Amplifiers for the Real World

Sponsored by Keysight

Simulating 5G power amplifier (PA) designs at the component and system levels with authentic modulation and high-fidelity behavioral models increases predictability, lowers risk, and shrinks schedules. Simulation software enables multi-technology layout and multi-domain analysis, evaluating the impacts of 5G PA design choices while delivering accurate results in a single virtual workspace. This application note delves into how authentic modulation enhances predictability and performance in 5G millimeter-wave systems.

Download now to revolutionize your design process.

featured chalk talk

PIC32CX-BZ2 and WBZ451 Multi-Protocol Wireless MCU Family
Sponsored by Mouser Electronics and Microchip
In this episode of Chalk Talk, Amelia Dalton and Shishir Malav from Microchip explore the benefits of the PIC32CX-BZ2 and WBZ45 Multi-protocol Wireless MCU Family and how it can make IoT design easier than ever before. They investigate the components included in this multi-protocol wireless MCU family, the details of the software architecture included in this solution, and how you can utilize these MCUs in your next design.
May 4, 2023
40,689 views