Categories

MCPU – minimal CPU on a CPLD

Posted on Sunday, August 7th, 2011 in code, CPLD, how-to by the machinegeek


Here’s a project from opencores by Tim Boscke known as MCPU. It creates a minimal CPU on a CPLD with at least 32 macrocells (such as our XC9572 CPLD Dev Board with 72 macrocells.) Tim describes:

MCPU is a minimal cpu aimed to fit into a 32 Macrocell CPLD – one of the smallest available programmable logic devices. While this CPU is not powerful enough for real world applications it has proven itself as a valuable educational tool. The source code is just a single page and easily understood. Both VHDL and Verilog versions are supplied. The package comes with assembler, emulator and extensive documentation.

You can download the code and documentation from the opencores site. (One time registration is required to download their code, but its free and provides access to loads of other projects and code samples.)
Read the MCPU PDF describing the project. It can be found in the web-uploads subdirectory of the extracted folder.

Get your XC9572XL dev-board for $15 today.

This entry was posted on Sunday, August 7th, 2011 at 4:22 pm and is filed under code, CPLD, how-to. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “MCPU – minimal CPU on a CPLD”

  1. Sjaak says:

    It should also work on on the coolrunner II board that has 64 cells ( http://www.seeedstudio.com/depot/xc2c64a-coolrunnerii-cpld-development-board-p-800.html?cPath=174 )

    Just curious will this compile on every architecture to 32 macrocels or not?

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Joe Desbonnet: Ya, I can recommend the low melting point solder. I used brand 'ChipQuik' and it's amazingly easy to use.
  • Jerome: I need a new BusPirate for the Fablab ;) Many thanks!
  • Max: Seems like an unexpectedly violent way to remove the chip indeed. A hot air station should of course do the job just fine, but in...
  • jose: Part removal described here is pure butchery, the cheapest hot air station will do a fast and clean job removing the QFP, heat air to...
  • Cody: Yes please