Skip to the content
PCBKitNew board
2 layers144 × 100 mmCpu td4, the printed circuit board in 3D
Size
144 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
90
Nets
94
Pads
360
Tracks, vias
895, 14
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
2 Nov 2024
Updated
7 Nov 2024

Overview

Cpu td4 is an open-source printed circuit board by nikachu2012, from the nikachu2012/td4cpu repository on GitHub. It is a 2-layer board of 144 × 100 mm with 90 parts on 94 nets, routed with 895 tracks and 14 vias.

It is built around the 74HC161S, 74HC153D and 74HC04D, with the 74HC10D, 74HC14 and 74HC283P-E among its other parts. Its parts include 33 resistors, 17 capacitors, 17 diodes, 12 ICs and 6 switches.

Main components

8

README

README.md

TD4 CPU

書籍「CPUの創りかた」にあるTD4 CPUの回路を、ユニバーサル基板で作るのがめんどくさかったので基板にしたものです。 製作の際は書籍を購入することをお勧めします。

kiban 完成させた基板のサンプル

フォルダ解説

schematic

回路図と基板のKiCadデータが入っています。バージョンは8.0です。 なんかのフットプリントをライブラリで入れてた気がしますがなくても読めるっぽいです。

schematic_pdf

回路図のpdfファイルが入っています。

rom_emulator

ArduinoなどのマイコンでROMを作るためのプログラムが入っています。
Arduino UNO系と、Raspberry Pi Pico(MicroPython)があります。

Arduino UNO系

Arduino UNO R4 WiFiで動作確認しています。
ポートレジスタの操作ではなくdigitalWriteを使っているのでMinimaやR3でも動くと思います。

以下のように接続してください。

Arduino側TD4 CPU側
VIN+5V
GNDGND
D11Address bus 3
D10Address bus 2
D9Address bus 1
D8Address bus 0
D7Data bus 7
D6Data bus 6
D5Data bus 5
D4Data bus 4
D3Data bus 3
D2Data bus 2
D1Data bus 1
D0Data bus 0
Raspberry Pi Pico

Raspberry Pi Pico無印で動作確認済みです。 ファイル名をmain.pyに変更して送信すれば動作すると思います。

以下のように接続してください。

Raspberry Pi Pico側TD4 CPU側
39 VSYS+5V
38 GNDGND
4 GP2Address bus 3
5 GP3Address bus 2
6 GP4Address bus 1
7 GP5Address bus 0
9 GP6Data bus 7
10 GP7Data bus 6
11 GP8Data bus 5
12 GP9Data bus 4
13 GP10Data bus 3
14 GP11Data bus 2
15 GP12Data bus 1
16 GP13Data bus 0

Parts

90
QtyValueFootprintReferences
241kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23, R24 +8
17LEDLED_THT:LED_D3.0mmD1, D2, D3, D4, D5, D6, D7, D8, D10, D11, D12, D13, D14, D15, D16, D17 +1
130.1μFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC3, C5, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17
4100kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR5, R7, R27, R33
474HC161Package_DIP:DIP-16_W7.62mm_SocketU2, U3, U4, U5
2100Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR8, R9
210μF 16VCapacitor_THT:CP_Radial_D4.0mm_P1.50mmC1, C6
274HC153Package_DIP:DIP-16_W7.62mm_SocketU10, U12
2SW_SPDTSS12D00G3:SS12D00G3SW1, SW2
1100μF 16VCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC2
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
110μF 16V MLCCCapacitor_THT:C_Disc_D6.0mm_W2.5mm_P5.00mmC4
13.3kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR4
133kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR6
174HC04Package_DIP:DIP-14_W7.62mm_SocketU1
174HC10Package_DIP:DIP-14_W7.62mm_SocketU6
174HC14Package_DIP:DIP-14_W7.62mm_SocketU7
174HC283Package_DIP:DIP-16_W7.62mm_SocketU11
174HC32Package_DIP:DIP-14_W7.62mm_SocketU8
174HC74Package_DIP:DIP-14_W7.62mm_SocketU9
1ADDRESSConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3
1Beep BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1Beep ToggleSS12D00G3:SS12D00G3SW3
1DATAConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ4
1DIPButton_Switch_THT:SW_DIP_SPSTx04_Slide_9.78x12.34mm_W7.62mm_P2.54mmSW4
1Jack-DCConnector_BarrelJack:BarrelJack_GCT_DCJ200-10-A_HorizontalJ1
1Manual CLKButton_Switch_THT:SW_PUSH-12mm_Wuerth-430476085716SW6
1PowerConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1Reset SWButton_Switch_THT:SW_PUSH-12mm_Wuerth-430476085716SW5

Questions

How big is the Cpu td4 PCB?

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

What parts does the Cpu td4 use?

90 parts, built around the 74HC161S, 74HC153D, 74HC04D and 74HC10D. 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 Cpu td4 KiCad files?

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

Can I use the Cpu td4 design in my own project?

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

Similar boards

  • 2 layers100 × 100 mmHC4 KiCad, the printed circuit board in 3D

    HC4 KiCad

    nasu8151/HC4

    Schematics and board of HC4 E (E means "for Education").

    175 parts8
  • 2 layers178 × 711 mmMSAP-2 rev.A SMD, the printed circuit board in 3D

    MSAP-2 rev.A SMD

    mehrantsi/MSAP-2

    An 8-bit computer. Successor to MSAP-1

    658 parts13MIT
  • 2 layers299.7 × 198.1 mmCisc-8, the printed circuit board in 3D

    Cisc-8

    nailed-barnacle/Cisc-8-ttl-processor

    A cut-down version of the 8080 processor using HCTTL and including a discrete ALU and instruction decoder

    319 parts1MIT
  • 2 layersCES, the printed circuit board in 3D

    CES

    erickpires/CES-PCB

    170 partsMIT
  • 2 layers137.2 × 76.2 mmTD4, the printed circuit board in 3D

    TD4

    s5suzuki/TD4

    55 partsMIT
  • 2 layers135.9 × 53.3 mmSpi, the printed circuit board in 3D

    Spi

    scefrom/SF68

    A board featuring the Motorola 68000

    46 parts2
  • 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