

Srambrd
Risc-V pipelined CPU and SoC written in SystemVerilog
- Size
- 45.7 × 83.8 mm
- Copper layers
- 4
- Thickness
- 4.69 mm
- Parts
- 24
- Nets
- 65
- Pads
- 164
- Tracks, vias
- 805, 36
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 12 Mar 2023
- Updated
- 5 May 2025
Overview
Srambrd is an open-source printed circuit board by apistol78, from the apistol78/rv32 repository on GitHub. It is a 4-layer board of 45.7 × 83.8 mm with 24 parts on 65 nets, routed with 805 tracks and 36 vias.
It is built around the IS61LV25616AL-10T. Its parts include 9 resistors, 8 capacitors, 4 connectors and 1 IC. It belongs with the fPGA and programmable logic boards and the RP2040 and FPGA and CPLD boards of this library.
Main components
1README
readme.mdMOJO Risc-V CPU and System-on-a-Chip
The MOJO SOC is an educational and fun system for FPGA and "Bare metal" programming experimentations.
It's a RISC-V CPU running at 100 MHz, 32 MiB RAM, audio and 320*200 video resolution.
To make user input easy I've moved USB host functionality to an external PCB using Raspberry Pico as a FPGA <-> HID bridge.
Prerequisites
This project require an install of Traktor to generate required resources. You will also need a RISC-V GCC toolchain compiled and installed at /opt/riscv32/bin on your machine.
How to build
Run build.sh to build host (i.e. Linux) and target products:
./build.shAfter everything has been built you should be able to run the emulators:
./build/linux/ReleaseStatic/Rv32T -elf=./build/rv32/ReleaseStatic/Bootor
./build/linux/ReleaseStatic/Rv32 -elf=./build/rv32/ReleaseStatic/BootCPU
MOJO CPU is a conventional 5-stage (F,D,X,M,W) pipelined RISC-V CPU. It also contain configurable data- and instruction caches.
Written using SystemVerilog and are split up into logical pieces where each stage of the pipeline is in a separate module:
| Module | Description |
|---|---|
| CPU_ALU | ALU unit, fully combinatorial |
| CPU_CSR | CSR control unit |
| CPU_DCache_Comb | Data cache, combinatorial |
| CPU_DCache_Reg | Data cache, registered |
| CPU_DCache_None | Data cache, disabled |
| CPU_Decode | Decode stage |
| CPU_Defines | CPU defines |
| CPU_Divide | Divison wrapper, usually implemented with a vendor IP |
| CPU_Execute | Execute stage |
| CPU_Fetch | Fetch stage |
| CPU_Forward | Register forwarding logic |
| CPU_ICache_Comb | Instruction cache, combinatorial |
| CPU_ICache_Reg | Instruction cache, registered |
| CPU_ICache_None | Instruction cache, disabled |
| CPU_Memory | Memory stage |
| CPU_Multiply | Multiplication wrapper, usually implemented with a vendor IP |
| CPU_Registers | Register file |
| CPU_SkidBuffer | Generalized skid-buffer |
| CPU_Types | CPU types |
| CPU_Writeback | Writeback stage |
Perifherials
A lot of perifherial modules has been implemented as port of the SoC:
| Module | Description |
|---|---|
| AUDIO_controller, AUDIO_i2s_output, AUDIO_pwm_output | PCM based audio modules |
| BRAM | Various block-ram modules |
| BRIDGE | BUS bridge, to separate BUS devices for improved timing. |
| BROM | Block-rom module |
| BusAccess | BUS multiplexed access |
| ClockDivider | Generic clock divider |
| DMA | Direct memory access controller |
| FIFO_BRAM | Block ram backed FIFO |
| FIFO | Register backed FIFO |
| GPIO | General purpose IO controller |
| I2C | I2C controller |
| LED | LED controller |
| PLIC | PLIC interrupt controller |
| RESET | Reset controller |
| SD | SD controller |
| SDRAM_controller | Generic SDRAM controller |
| SRAM_interface | Generic SRAM controller |
| SystemRegisters | System wide register map |
| Timer | Hardware timer with compare |
| UART | UART controller |
| VIDEO_controller | Video output controller |
| VIDEO_VGA | Video VGA signal generator |
| WriteBuffer | Write buffer (queue) with readback or read-through |
System-on-a-Chip
A couple of custom PCBs designed to connect to QM-Tech FPGA boards is the physical basis for MOJO SoC. The SoC support following perifherials:
- HDMI output
- Stereo audio output through PWM and through I2S HDMI.
- SD card interface using 4-bit SD protocol.
- 2 UARTs, one for host and one for HID input.
- Raspberry Pico based USB host to FPGA bridge supporting three external HID devices (keyboard, mouse and gamepad).
Emulators
Two different emulators, one C++ highlevel emulator and one based on Verilator. The highlevel is useful for application development and the other is used for verification of gate level logic.
Runtime
C/C++ runtime library, including a preemptive multithreaded kernel, expose all hardware features to user programs. Support CRT for easy portability.
Schematics
KiCad schematics for all perifherial boards are available and been built using JLCPCB.
Parts
24| Qty | Value | Footprint | References |
|---|---|---|---|
| 9 | 4k7 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2, R3, R4, R5, R6, R7, R8, R9 |
| 4 | 10nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C3, C4, C5, C6 |
| 2 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C2 |
| 2 | 100uF | Capacitor_SMD:CP_Elec_5x5.3 | C7, C8 |
| 2 | Conn_01x03 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J3, J4 |
| 2 | MountingHole | MountingHole:MountingHole_3.2mm_M3_DIN965_Pad | H1, H2 |
| 1 | IS61LV25616AL | Package_SO:TSOP-II-44_10.16x18.41mm_P0.8mm | U1 |
| 1 | LEFT | Connector_PinSocket_2.54mm:PinSocket_2x32_P2.54mm_Vertical | J1 |
| 1 | Micro_SD_Card | Connector_Card:microSD_HC_Hirose_DM3D-SF | J2 |
More from apistol78/rv32
9- 4 layers183.4 × 143.1 mm

- 2 layers129 × 41.9 mm

- 2 layers42.7 × 83.8 mm

- 2 layers47 × 83.8 mm

- 2 layers38.1 × 83.8 mm

- 2 layers

- 2 layers30.5 × 83.8 mm

- 2 layers68.6 × 99.1 mm

- 2 layers27.4 × 63.2 mm

Similar boards
- 4 layers38 × 38 mm

Ethersweep
Neumi/ethersweep
Open Source, easy to use Ethernet connected stepper motor controller. Built in FreeCAD, KiCAD and Arduino.
24 parts587 - 4 layers192.1 × 126.9 mm

Stradex1
Bylin-code/Stradex1
STRADEX1 Documentation and Build Instructions ============== I've always wanted to put my violin skills to use in a MIDI environment, but there really isn't a controller on the market that can emulate the feel of a…
24 parts101 - 4 layers87.4 × 19.4 mm

XboxUSB C
Redherring32/Xbox-Portable
Fully portable original (2001) Xbox handheld using real hardware
24 parts93 - 4 layers25 × 36.5 mm

MAX M10S Passive
John-owo/pcb-agent-workflow
用 Claude Code/Codex 搭配 KiCad 10 設計 PCB、交 JLCPCB 製造的工作流程:流程文件、專案範本、JLC 客服溝通 skill、生產稿比對腳本與範例設計
24 parts76MIT - 4 layers35.1 × 25.3 mm

DualClockLO
DRWJSCHMIDT/T41
This is the repository for the officially released V10, V11, and V12 versions of the T41 Software Defined Transceiver hardware and kits.
24 parts66 - 4 layers14.8 × 38.8 mm

- 4 layers

Tiav3 s13360 3030VE
OpenSiPM/sipm-bias-control
Single channel silicon photomultipliers for high-speed fluorescence imaging
24 parts44 - 4 layers65 × 30 mm

Questions
How big is the Srambrd PCB?
It measures 45.7 × 83.8 mm and has 4 copper layers, 4.69 mm thick.
What parts does the Srambrd use?
24 parts, built around the IS61LV25616AL-10T. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Srambrd KiCad files?
From the apistol78/rv32 repository on GitHub, at the commit this page was made from: the board is schematics/sdrambrd/srambrd.kicad_pcb and its schematic schematics/hdmi brd/hdmi brd.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Srambrd design in my own project?
Its repository states no licence, so its author keeps all rights: ask apistol78 before reusing the design.