Skip to the content
2 layers200 × 200 mmROM, the printed circuit board in 3D

Hand made 8bitCPU

Size
200 × 200 mm
Copper layers
2
Thickness
1.6 mm
Parts
320
Nets
338
Pads
1,172
Tracks, vias
2,888, 12
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
12 Nov 2023
Updated
2 Dec 2023

Overview

ROM is an open-source printed circuit board by Liu-Yuzh, from the Liu-Yuzh/PEC-1 repository on GitHub. It is a 2-layer board of 200 × 200 mm with 320 parts on 338 nets, routed with 2,888 tracks and 12 vias.

It is built around the CD74HC540E, 74HC138 and CD74HC08E, with the CD74HC14E among its other parts. Its parts include 240 diodes, 32 switches, 30 resistors, 6 capacitors and 6 ICs.

Main components

4

README

README.md

PEC-1

Hand made 8bitCPU, Prototype Experimental Computer No.1

Picture

動いている様子.下記のSample Codeを動かしています.

F-tropnacAAZ7CA

CPU Architecture

CPU Architecture drawio

Command List

PEC-1で使用可能なコマンド一覧です.

GRx,GRyは汎用レジスタです.ImはImmidiate Data,すなわち即値データです.

スクリーンショット 2023-11-12 145332

Machine Code

コマンドのマシン語対応表です.

xxやyyは,コマンドで指定したいレジスタ番号の二進数表示です.00(0)~11(3)番まで行けます.

[imdt]は即値データです.データ長は6bitです.

基本的に,オペコード部で各部の制御を行っています.なので, ジャンプ命令などは仕様上レジスタの指定は冗長と扱うためオペランドはどう書いても問題ありません. また,即値が「000000」となっているコマンドも,即値の入力は冗長です,

スクリーンショット 2023-11-12 145337

Sample Code

サンプルコードです.掛け算と引き算を行うプログラムです.

スクリーンショット 2023-11-12 145524

Parts

320
QtyValueFootprintReferences
2241N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD10, D11, D100, D101, D102, D103, D104, D105, D108, D109, D110, D111, D112, D113, D114, D115 +208
161KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3, R5, R6, R7, R8, R9, R33, R34, R35, R37, R38, R39, R40, R41
16SW_DIP_x06Package_DIP:DIP-12_W7.62mm_SocketSW2, SW4, SW6, SW10, SW13, SW14, SW17, SW18, SW38, SW40, SW42, SW46, SW49, SW50, SW53, SW54
16SW_DIP_x08Package_DIP:DIP-16_W7.62mm_SocketSW1, SW3, SW5, SW8, SW11, SW12, SW15, SW16, SW37, SW39, SW41, SW44, SW47, SW48, SW51, SW52
1410KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR42, R43, R44, R45, R46, R47, R48, R49, R50, R51, R52, R53, R54, R55
60.1μCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC1, C2, C3, C4, C5, C6
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
274HC138Package_DIP:DIP-16_W7.62mm_SocketU1, U2
2CD74HC540Package_DIP:DIP-20_W7.62mm_SocketU3, U4
2Conn_01x34_PinConnector_PinHeader_2.54mm:PinHeader_2x17_P2.54mm_HorizontalJ1, J2
10LED_THT:LED_D3.0mmD1
11LED_THT:LED_D3.0mmD16
110LED_THT:LED_D3.0mmD301
111LED_THT:LED_D3.0mmD317
112LED_THT:LED_D3.0mmD346
113LED_THT:LED_D3.0mmD377
114LED_THT:LED_D3.0mmD347
115LED_THT:LED_D3.0mmD376
12LED_THT:LED_D3.0mmD31
13LED_THT:LED_D3.0mmD47
14LED_THT:LED_D3.0mmD76
15LED_THT:LED_D3.0mmD107
16LED_THT:LED_D3.0mmD77
17LED_THT:LED_D3.0mmD106
18LED_THT:LED_D3.0mmD271
19LED_THT:LED_D3.0mmD286
1CD74HC08Package_DIP:DIP-14_W7.62mm_SocketU5
1CD74HC14Package_DIP:DIP-14_W7.62mm_SocketU6

More from Liu-Yuzh/PEC-1

5
  • 2 layers200 × 200 mmRom2, the printed circuit board in 3D

    Rom2

    Liu-Yuzh/PEC-1

    Hand made 8bitCPU

    302 parts1
  • 2 layers200 × 200 mmData, the printed circuit board in 3D

    Data

    Liu-Yuzh/PEC-1

    Hand made 8bitCPU

    161 parts1
  • 2 layers200 × 200 mmALU, the printed circuit board in 3D

    ALU

    Liu-Yuzh/PEC-1

    Hand made 8bitCPU

    58 parts1
  • 2 layers200 × 200 mmClock clear, the printed circuit board in 3D

    Clock clear

    Liu-Yuzh/PEC-1

    Hand made 8bitCPU

    26 parts1
  • 2 layers200 × 200 mmChanger, the printed circuit board in 3D

    Changer

    Liu-Yuzh/PEC-1

    Hand made 8bitCPU

    15 parts1

Similar boards

  • 6 layers313 × 259.5 mmOpen8-vga motherboard, the printed circuit board in 3D

    Open8-vga motherboard

    adham404/Open8-VGA

    An 8-bit computer from 74HC logic: microcoded CPU, VGA, PS/2, on-board editor and assembler. Play it in your browser.

    322 parts3MIT
  • 2 layers238.8 × 120.6 mmTd4, the printed circuit board in 3D

    Td4

    unyacat/td4

    渡波郁著「CPUの創りかた」を独自に起こした基板

    252 parts1
  • 2 layers70 × 57.5 mmReservoir Circuit, the printed circuit board in 3D

    Reservoir Circuit

    bryan-bpms/Reservoir_Circuit

    ECE 298 Reservoir Circuit Schematic and PCB Design, modeled in KiCad

    34 parts
  • 2 layersAlarm clock pcb, the printed circuit board in 3D

    Alarm clock pcb

    BlakeWooley/alarm_clock_pcb

    KiCAD schematics and other documents for a custom alarm clock PCB that I designed without any microcontroller.

    12 parts
  • 2 layers117.5 × 99.7 mmVGA, the printed circuit board in 3D

    VGA

    cherry-takuan/NLP_VGA

    VGA board for NLP-16A

    72 parts
  • 4 layers205.5 × 152 mmLTC3, the printed circuit board in 3D

    LTC3

    psas/launch-tower

    CAD files and software for the launch tower computer (LTC)

    507 parts19
  • 2 layers245 × 127 mmIGBT Driver Board, the printed circuit board in 3D

    IGBT Driver Board

    PattarachaiB/MPC-Driver

    Magnetic pulse compression project

    120 parts
  • 2 layers68.6 × 53.3 mmSensorArduinoHat, the printed circuit board in 3D

    SensorArduinoHat

    shareresearchteam/SAMI-Robot

    Software and Hardware resources and development of the SAMI humanoid robot

    36 parts5MIT

Questions

How big is the ROM PCB?

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

What parts does the ROM use?

320 parts, built around the CD74HC540E, 74HC138, CD74HC08E and CD74HC14E. 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 ROM KiCad files?

From the Liu-Yuzh/PEC-1 repository on GitHub, at the commit this page was made from: the board is kicad/rom/ROM.kicad_pcb and its schematic kicad/ALU/ALU.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ROM design in my own project?

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