Skip to the content
PCBKitNew board
4 layers17.8 × 50.8 mmReDIP CIA, the printed circuit board in 3D

MOS 6520 PIA / MOS 6522 VIA / MOS 6526/8520/8521 CIA replacement

Size
17.8 × 50.8 mm
Copper layers
4
Thickness
1.61 mm
Parts
61
Nets
93
Pads
370
Tracks, vias
766, 94
Pours
188
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
6 Nov 2023
Updated
27 Sep 2026

Overview

ReDIP CIA is an open-source printed circuit board by daglem, from the daglem/reDIP-CIA repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 4-layer board of 17.8 × 50.8 mm with 61 parts on 93 nets, routed with 766 tracks and 94 vias.

It is built around the ICE5LP1K-SG48ITR, 74AHCT1G14SE and AT25EU0011A-SSHN-T, with the BAS16W among its other parts. Its parts include 21 resistors, 12 capacitors, 7 ICs, 3 connectors and 1 diode. It belongs with the FPGA and CPLD boards of this library.

Main components

4

README

README.md

reDIP CIA

MOS 6520 PIA / MOS 6522 VIA / MOS 6526/8520/8521 CIA FPGA replacement

Board

Overview

The reDIP CIA is an open source FPGA board which combines the following in a DIP-40 size package:

  • Lattice iCE5LP1K FPGA
  • 1Mbit FLASH
  • 5V tolerant I/O

The reDIP CIA provides an open source hardware platform for MOS 6520 PIA / MOS 6522 VIA / MOS 6526/8520/8521 CIA replacements.

Designs for the iCE5LP1K FPGA can be processed by yosys and nextpnr.

I/O interfaces

DIP-40 header pins:

  • 5V input
  • 35 FPGA GPIO
  • 3 FPGA open-drain I/O
  • GND

All FPGA header I/O is 5V tolerant, and can drive 5V TTL.

SPI / programming header:

A separate header footprint is provided for (Q)SPI flash programming, with pinout borrowed from the iCEBreaker Bitsy.

MOS 6526/8521 and MOS 8520 CIA compatibility

The board is fully pin compatible with the venerable MOS 6526/8521 and MOS 8520 CIA chips.

Cycle accurate emulation of the MOS 6526/8521 and MOS 8520 CIA chips has been implemented in gateware, configurable via software.

MOS 6522 VIA compatibility

Cycle accurate emulation of the MOS 6522 VIA chip has been implemented in gateware.

MOS 6520 PIA compatibility

Cycle accurate emulation of the MOS 6520 PIA chip has been implemented in gateware.

Thanks

The gateware implementations would not have been possible without the outstanding work on varius MOS chips by Frank "androSID" Wolf and Dieter "ttlworks" Müller.

Wagner Rodriguez has tested the 8520 CIA implementation with the Versatile Amiga Testprogram.

Mateusz Nalewajski has hunted down and fixed two bugs while working on integrating the VIA gateware in icepi-zero-c64.

André Fachat has tested the VIA and PIA implementations with his PET PIA and VIA test suite.

Parts

61
QtyValueFootprintReferences
164.7kResistor_SMD:R_0201_0603MetricR1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15, R16
9SolderMask_D0.25mmreDIP:SolderMask_D0.25mmSolderMask_D0.25mm, SolderMask_D0.25mm, SolderMask_D0.25mm, SolderMask_D0.25mm, SolderMask_D0.25mm, SolderMask_D0.25mm, SolderMask_D0.25mm, SolderMask_D0.25mm, SolderMask_D0.25mm
70.1uFCapacitor_SMD:C_0201_0603MetricC5, C6, C7, C8, C9, C10, C12
31uFCapacitor_SMD:C_0201_0603MetricC2, C4, C11
3TestPointreDIP:TestPoint_Pad_D1.00mmTP1, TP2, TP3
210kResistor_SMD:R_0201_0603MetricR19, R20
21uFCapacitor_SMD:C_0402_1005MetricC1, C3
22.87kResistor_SMD:R_0201_0603MetricR17, R21
2Conn_01x20reDIP:PinHeader_1x20_P2.54mm_Vertical_MachinedJ1, J2
2SN74CBT16210CDGGRPackage_SO:TSSOP-48_6.1x12.5mm_P0.5mmU3, U4
1100Resistor_SMD:R_0201_0603MetricR18
174AHCT1G14reDIP:SOT-353_SC-70-5U5
1AT25EU0011A-SSHNPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU7
1BAS16WreDIP:SOT-323_SC-70D1
1Conn_02x05_Odd_EvenreDIP:PinHeader_2x05_P2.54mm_VerticalJ3
1ICE5LP1K-SG48Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mmU6
1NCP115AMX120TCGonsemi:CASE_711AJ_1.0x1.0mm_P0.65mmU1
1NCP115AMX330TCGonsemi:CASE_711AJ_1.0x1.0mm_P0.65mmU2

The 56 most common of 61 parts.

Questions

How big is the ReDIP CIA PCB?

It measures 17.8 × 50.8 mm and has 4 copper layers, 1.61 mm thick.

What parts does the ReDIP CIA use?

61 parts, built around the ICE5LP1K-SG48ITR, 74AHCT1G14SE, AT25EU0011A-SSHN-T and BAS16W. 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 ReDIP CIA KiCad files?

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

Can I use the ReDIP CIA design in my own project?

Its repository publishes it under the CERN-OHL-S-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 4 layers17.8 × 50.8 mmReDIP RIOT, the printed circuit board in 3D

    ReDIP RIOT

    daglem/reDIP-RIOT

    MOS 6530 RRIOT / MOS 6532 RIOT replacement

    45 parts26CERN-OHL-S-2.0
  • 2 layers46 × 39 mmClock, the printed circuit board in 3D

    Clock

    AJain9199/AOS16

    Table of Contents About The Project Pictures Technical Details Directory Structure To-Do Acknowledgments

    35 parts1
  • 4 layers50.8 × 22.9 mmRPGA Feather, the printed circuit board in 3D

    RPGA Feather

    Oak-Development-Technologies/RPGA-Feather

    Home of everything RPGA! From schematics and board files to buildable examples!

    82 parts20MIT
  • 4 layers50.8 × 22.9 mmLattice FPGA feather wing, the printed circuit board in 3D

    Lattice FPGA feather wing

    Oak-Development-Technologies/Lattice-FeatherWing

    Home of the Lattice FeatherWing

    30 parts7MIT
  • 6 layers50.2 × 50.7 mmAdc usb, the printed circuit board in 3D

    Adc usb

    EnPassant123/FMCW_radar_2

    FMCW radar - version 2

    305 parts2GPL-3.0
  • 4 layers181.5 × 182.3 mmStencil, the printed circuit board in 3D

    Stencil

    jerry-kerenzikov/ytterbium

    Project files for Ytterbium modular CPU platform and Yprog programming tool

    421 partsCERN-OHL-S-2.0
  • 2 layers27.5 × 48.3 mmICE40DevBoard, the printed circuit board in 3D

    ICE40DevBoard

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    41 parts915