MCP cover image
See in Github
2025-03-02

MCPU - Un processeur minimal de 8 bits dans un 32 Macrocell CPLD

26

Github Watches

31

Github Forks

222

Github Stars

MCPU - Minimal CPU for a 32 Macrocell CPLD

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.

This is an old project from 2001. Since it still seems to be of interest to many, I migrated it to Github for easier maintenance. Please refer to the original project description (pdf) for further information.

Addendum

  • A very nice write up on this design can be found on the blog of Jean-Claude Wippler here. (Archived and shutdown in 2024)
  • @AranweLTT found a neat way to allow the MCPU to access 8 bit address space with almost no additonal logic overhead in his mcpu-ext

Version History

  • v1.0x - 2001
    • Released on university homepage
  • v1.06b - 2008
    • last release on opencores.org
  • v1.1 - 2013/06/23
    • Initial release on github
    • Converted readme to markdown
    • Included bugfixed verilog version submitted by A. Wood.

Archive content

ASM/
	- example programs.
	- simulator.
	- include file for smal.
	- smal.exe - see license for smal !
VHDL/
	- VHDL source of CPU.
	- VHDL testbench.
	- Memory files.
	- The testbench requires a simple sram implementation.
          I used this one: 
          http://tams-www.informatik.uni-hamburg.de/vhdl/models/sram-simple/sram64kx8.vhd          
 	  From the Hamburg VHDL archive (http://tams-www.informatik.uni-hamburg.de/vhdl/)

verilog/
	- Verilog conversion of CPU source 
	- A small Verilog testbench

SMAL-source/
	- SMAL sourcode.

SIM-source/
   - WIN32 Simulator sourcecode. Porting to other platforms should be easy.

License

SMAL license:

/* smal32.c   language: C
   copyright 1996 by Douglas W. Jones
                     University of Iowa
                     Iowa City, Iowa  52242
                     USA

   Permission is granted to make copies of this program for any purpose,
   provided that the above copyright notice is preserved in the copy, and
   provided that the copy is not made for direct commercial advantage.

   Note: This software was developed with no outside funding.  If you find
   it useful, and especially if you find it useful in a profit making
   environment, please consider making a contribution to the University
   of Iowa Department of Computer Science in care of:

                     The University of Iowa Foundation
                     Alumni Center
                     University of Iowa
                     Iowa City, Iowa  52242
                     USA
*/

The other source is licensed under GPL2.

I am always interested in possible uses and modifications to it. Let me know what you are doing with it.

相关推荐

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Beria Joey
  • 你的职业规划师,不走弯路就问我。Sponsor:小红书“ ItsJoe就出行 ”

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

  • Mintplex-Labs
  • L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

  • n8n-io
  • Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.

  • av
  • Exécutez sans effort LLM Backends, API, Frontends et Services avec une seule commande.

  • appcypher
  • Serveurs MCP géniaux - une liste organisée de serveurs de protocole de contexte de modèle

  • 1Panel-dev
  • 🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.

  • Azure
  • Ce référentiel est pour le développement du serveur MCP Azure, apportant la puissance d'Azure à vos agents.

    Reviews

    5 (1)
    Avatar
    user_JfK1fn5i
    2025-04-17

    MCPU by cpldcpu is an excellent project for those interested in micro-controller programming. The comprehensive documentation and user-friendly approach make it a must-try. Navigate to the provided GitHub link to explore the code and contribute. Kudos to the author for creating such a valuable resource!