A PULP SoC for education, easy to understand and extend with a full flow for a physical design.

★ 299⑂ 145👁 7⑃ 117● 28▤ 4
SystemVerilogNOASSERTIONCreated 2024-07-18pulp-platform.github.io/croc/
下载:v2.0v2.0 ↓2.02026-03-11
+0
日增长
299
stars
145
forks
7
watchers
117
prs
28
issues
4
releases

README

Croc System-on-Chip

A simple SoC for education using PULP IPs. Croc includes all scripts necessary to produce a nearly finished chip in IHPs open-source 130nm technology, using the open EZ130 8T standard cells and the 5-metal CMOS5L back-end.

As it is oriented towards education, it forgoes some configurability to increase readability of the RTL and scripts.

Croc is developed as part of the PULP project, a joint effort between ETH Zurich and the University of Bologna.

Croc was successfully taped out in Nov 2024 in the chip MLEM, named after the sound Yoshi makes when eating a tasty fruit. MLEM's core functionality was verified on real silicon early 2026.  
MLEM was designed and prepared for tapeout by ETHZ students as a bachelor project. The exact code and scripts used for the tapeout can be seen in the frozen mlem-tapeout branch.

 Architecture

!Croc block diagram

The SoC is composed of two main parts:

- The croc_domain containing a CVE2 core (a more minimal fork of Ibex), SRAM, an OBI crossbar and a few simple peripherals
- The user_domain where students are invited to add their own designs or other open-source designs (peripherals, accelerators...)

The main interconnect is OBI, you can find the spec online.

The various IPs of the SoC (UART, OBI, debug-module, timer...) come from other PULP repositories and are managed by Bender.
To make it easier to browse and understand, only used or important building blocks are included in rtl/. You may want to explore the repositories of the respective IPs to find their documentation or additional functionality, the urls are in Bender.yml.

 Configuration

The main SoC configurations are in rtl/croc_pkg.sv:

| Parameter          | Default          | Function                                           |
| ------------------ | ---------------- | -------------------------------------------------- |
| PulpJtagIdCode   | 32'h1C0C_5DB3  | Debug module ID code                               |
| iDMAEnable       | 0              | Enable optional DMA (see rtl/idma)               |
| NumSramBanks     | 2              | Number of memory banks                             |
| SramBankNumWords | 512            | Number of 32bit words in a memory bank             |
| BootAddr         | 32'h1000_0000  | Default boot address set in 'soc_ctrl' register    |
| CrocAddrMap      | see 'Memory Map' | Routing rules used for the main crossbar           |
| PeriphAddrMap    | see 'Memory Map' | Routing rules used for the peripheral demuliplexer |

Further configurations can be made in rtl/core_wrap.sv (core specifics) and rtl/croc_soc.sv (connectivity between domains and to/from outside).

The SRAMs are instantiated via a technology wrapper called tc_sram_impl (tc: tech_cells), the technology-independent implementation is in rtl/tech_cells_generic/tc_sram_impl.sv. A number of SRAM configurations are implemented using IHP130 SRAM memories in ihp13/tc_sram_impl.sv. If an unimplemented SRAM configuration is instantiated it wil

Top issues

Latest release

v2.0 v2.0 2026-03-11
Only the most important changes are listed here, see CHANGELOG.md for a complete list.


 Added

- rtl: add optional iDMA module with OBI interface
- rtl: add wfi trampoline bootrom

 Changed

- rtl: replace fetch_en_i pin with testmode_i
- rtl: replace timer_unit with RISC-V CLINT and obi_timer
- rtl: simplify configuration in croc_pkg.sv
- sw: change success exit code from 1 to 0
- treewide: replace Makefiles with bash/tcl scripts
- tools: update to version 2025.12
- openroad: split flow into separate parts

 Fixed

- rtl: fix OBI req/gnt decoupling per spec R-22
- rtl: 

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON