Skip to the content
2 layers99.1 × 99.1 mmCPU16 Pico2, the printed circuit board in 3D

Retro 16bit CPU driver on Raspberry Pi Pico2(RP2350B)

Size
99.1 × 99.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
33
Nets
96
Pads
330
Tracks, vias
1,234, 129
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
7 Jun 2025
Updated
9 Jun 2025

Overview

CPU16 Pico2 is an open-source printed circuit board by tendai22, from the tendai22/CPU16_Pico2 repository on GitHub. It is a 2-layer board of 99.1 × 99.1 mm with 33 parts on 96 nets, routed with 1,234 tracks and 129 vias.

It is built around the 74HC00D. Its parts include 6 capacitors, 5 ICs, 5 diodes, 5 connectors and 3 resistors. It belongs with the retro computing and games boards and the RP2350 boards of this library.

Main components

1

README

README.md

CPU16_Pico2

Retro 16bit CPU driver on Raspberry Pi Pico2(RP2350B)

emuz80_pico2 で、Z80を Raspberry Pi Pico2 で駆動する方法のイメージを得た。FORTH 移植活動再開に先立ち、16bit 実CPUをPico2で駆動する試作を進めたい。そのための基板として、CPU16_Pico2 の準備を進めている。

本リポジトリは、その基板の KiCad プロジェクトである。

基本的なコンセプト

16bit CPU を Raspberry Pi Pico2 で駆動する。SRAM 2本(128kワード x 16bit)を搭載し、16bit CPU(以後、ターゲット CPUと呼ぶ)からアクセスできるようにする。シリアルポートは Pico2 が提供する。

Pico2 の GPIO線で CPUクロックと制御信号を発生・受信する。シリアル用の仮想 I/O ポート2つを用意し、ターゲット CPU から R/W できるようにする。

GPIOの割り当てに際し、アドレスバス16本・データバス16本は5V トレラント入力を割り当てている。残り 16本のうち、2本はシリアルポート(TX, RX)に、残り14本のうち5Vトレラント8本は制御線(入力/出力)と、非トレラント6本(出力)の違いを意識している。

SRAM 制御線4本の信号をなんとかして用意する必要がある。/OE, /WE を Pico2 に接続して /MREQ, /RD, /WE 入力を解釈して生成してもよい。また、ターゲットCPUによっては /OE, /WE 信号生成のためのグルーロジックを CPU 子基板に搭載してもよい。

例えば、Z80 の場合、MREQ, IORQ, RD, WR, M1, RFSH, BUSAK は5Vトレラント側に割り当て、RESET, BUSRQ, INT は非トレラント側とする。

アドレス・データ多重バスの場合、アドレスデータ保持用のラッチ IC 搭載は不要とする。AD0-AD15 を D0-D15 に割り当て、Pico2 が ALEを見てアドレス信号をラッチする。それは A0-A15 に出力することで SRAM のアドレス信号に供給される。

USBシリアル用の6ピンヘッダを用意している。Pimoroni PGA2350, WeAct RP2350 Core Board 両方で共通に使用できる。

Pico2 のサポートは、Pimoroni PGA2350 と WeAct RP2350 Core Board のいずれか1個を搭載可能である。基板パターンは両方を用意しているが、同時に2個搭載はできず、どちらか一方だけを搭載する。

Pimoroni PGA2350 搭載の場合は、USB-miniB コネクタと RUN/BOOTSEL スイッチ2個も取り付けることができる。RP2350 Core Boardはそれらをすでに搭載しているので、本基板に搭載せず空きのままとする。

起動時に必要なターゲットCPUプログラムは、 Pico2に内蔵しておき、リセット解除前に SRAM に展開しておく(ブートローダ機能)。ターゲットCPUの制御線から SRAM の制御信号(/OE, /WE)を生成する。メモリアクセスサイクルの延長が必要な場合に延長する(WAIT機能、クロックストレッチ、場合によりクロック置き)。

本試作基板をベースに、ターゲットCPUに適合する子基板を乗せて動作させられるように、40pin + 24pin の外部コネクタを用意する。そこには、Vcc, GND に加え、アドレスバス20本、データバス16本、Pico2 のGPIO14本、SRAM 2個それぞれの /OE, /WE 4本、CS2本(SRAM 2本のCSを結合してCS1, CS2の2本)をコネクタに引き出している。

GPIO 14 本のうち2本は、NAND ゲート(をNOTゲートとして使用)を介して40pin コネクタに引き出させている。クロック駆動だけは Vih 3.5V 以上を必要な CPU があり、それらを駆動するためである。2相まで対応できるように NAND ゲート接続は 2bit 分用意している。

8bit CPU を搭載する場合は、40pin コネクタ側を主に使用する。SRAM 非搭載(Pico2 の内部RAMをターゲット用ROM/RAMとして使用する)の場合は、24pin コネクタ側は空きでもかまわない。SRAM 搭載の場合は、Low側SRAMソケットだけにSRAMチップを搭載し、24pinコネクタのSRAM 信号(CE1, CE2, OE, WE)を生成するために Pico2 空き端子に接続する。GPIO44,45 を使ってもよいし、D8-D15の8本が空きになるのでそれを使って構わない。

秋月C基板を使い CPU 子基板を作る配慮が抜けている。ねじ穴を生かして繋ごうとすると40pin/24pinコネクタを端によせすぎてC基板に刺さる位置にない可能性が高い。ねじ穴を使わずにC基板を使いつつ、CPU 子基板開発用の蛇の目基板も作成して対応する。基板修正は微妙(パターン配線領域がぎりぎり)だが、可能性を検討のうえ、可能なら基板を改版する。

Parts

33
QtyValueFootprintReferences
6MountingHoleMountingHole:MountingHole_3.5mmH1, H2, H3, H4, H5, H6
50.1ulocal-f:C_Disc_Narrow_D3.0mm_W1.6mm_P2.50mmC1, C2, C3, C4, C5
31klocal-f:R_Axial_L5.5mm_D2.0mm_P7.62mm_HorizontalR1, R2, R3
21S3local-f:D_DO-34_SOD68_P7.62mm_HorizontalD1, D5
2HM628128local-f:DIP-32_W15.24mm_OvalPadsU4, U5
110uFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC7
174HC00Package_DIP:DIP-14_W7.62mm_SocketU3
1BOOTSELlocal-f:Tact_SWSW2
1Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ8
1Conn_02x12_Odd_Evenlocal-f:PinSocket_2x12_P2.54mm_OvalPad_VerticalJ1
1Conn_02x20_Odd_Evenlocal-f:PinSocket_2x20_P2.54mm_Ovalpad_VerticalJ2
1GREENlocal-f:LED_D3.0mmD3
1Pimoroni PGA2350Blocal-f:PLCC-64_THT-SocketU1
1RB2350B_Core_Boardlocal-f:RB2350B_Core_BoardU2
1REDlocal-f:LED_D3.0mmD2
1RUNlocal-f:Tact_SWSW1
1Seriallocal-f:PinHeader_1x06_P2.54mm_Horizontal_NoFeetJ5
1USB_B_Microlocal-f:USB_Micro-B_Hirose_ZX62-B-5PAJ6
1VCC_JumperJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP1
1YELLOWlocal-f:LED_D3.0mmD4

Similar boards

  • 2 layers245.1 × 160 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-64x4-Home-Computer

    My DIY TTL home computer with VGA and PS/2 and 4x the processing power of a Commodore C64 or Apple II.

    139 parts326
  • 2 layers191.8 × 121.3 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-UART-Computer-1-2

    Legacy: Version 1 and 2 of my TTL-only CPU featuring UART I/O, an expansion port, 512KB SSD at up to 10MHz clock speed

    109 parts184
  • 2 layers203.2 × 149.9 mm65C02 Computer, the printed circuit board in 3D

    65C02 Computer

    dbuchwald/6502

    DB6502: 65C02 based computer inspired by BE6502

    68 parts177MIT
  • 2 layers99.1 × 88.9 mm1002 EPROM EMU NG 2.2d, the printed circuit board in 3D

    1002 EPROM EMU NG 2.2d

    Kris-Sekula/EPROM-EMU-NG

    EPROM Emulator Project with Arduino

    49 parts161Apache-2.0
  • 4 layers120 × 98 mmExbus proto, the printed circuit board in 3D

    Exbus proto

    clydeshaffer/gametank

    design files for the gametank hardware implementation

    871 parts150
  • 2 layers99.1 × 99.1 mmBE6502 SBC, the printed circuit board in 3D

    BE6502 SBC

    tebl/BE6502-Build-a-65c02-computer

    A PCB being made while watching Ben Eaters "Build a 6502 computer" video series. Includes the computer itself, a standalone slow clock and an Arduino Mega shield for the bus monitor sketch..

    61 parts129
  • 2 layers306.1 × 130.2 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-64-Home-Computer

    Legacy: Full TTL-only home computer with VGA and PS/2 and twice the processing power of a Commodore 64

    132 parts94
  • 2 layers70 × 85 mm1bit CPU, the printed circuit board in 3D

    1bit CPU

    naoto64/1bit-CPU

    1bit CPU using 74HC series logic IC.

    38 parts91MIT

Questions

How big is the CPU16 Pico2 PCB?

It measures 99.1 × 99.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the CPU16 Pico2 use?

33 parts, built around the 74HC00D. 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 CPU16 Pico2 KiCad files?

From the tendai22/CPU16_Pico2 repository on GitHub, at the commit this page was made from: the board is CPU16_Pico2.kicad_pcb and its schematic CPU16_Pico2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the CPU16 Pico2 design in my own project?

Its repository states no licence, so its author keeps all rights: ask tendai22 before reusing the design.