Skip to the content
2 layersZx spectrum lower memory module, the printed circuit board in 3D

Zx spectrum lower memory module

lostretrotapes/zx-spectrum-modern-memory2

A work in progress to create a PCB to replace the upper and lower RAM chips in the 48k Spectrum with a modern replacement

Copper layers
2
Thickness
1.6 mm
Parts
3
Nets
62
Pads
62
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 7 (file 20221018)
Created
24 Nov 2023
Updated
1 Dec 2023

Overview

Zx spectrum lower memory module is an open-source printed circuit board by lostretrotapes, from the lostretrotapes/zx-spectrum-modern-memory repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board with 3 parts on 62 nets.

It is built around the 74HCT574D,653-JSM, CY62256NLL-55SNXI and SN74ACT00NSR. It belongs with the retro computing and games boards of this library.

Main components

3

README

README.md

ZX Spectrum 48k Moderm Memory Replacement Boards

A work in progress to create a PCB to replace the upper and lower RAM chips in the 48k Spectrum with a modern replacement

BOM

  • SRAM 256K 32K x 8 Mouser
  • Flip-Flops 74HCT574D Mouser
  • Logic Gates Quadruple 2-Input Positive-NAND gates SN74ACT00NSR Mouser

References

Technical

Technical challenge in interfacing different types of memory chips - DRAM (Dynamic Random Access Memory) and SRAM (Static Random Access Memory) - and a solution using additional components.

Address Line Multiplexing in DRAM

The 4116 DRAM chip uses a process called 'multiplexing' for its address lines. This means it uses the same set of address lines (A0-A6) first for 'row' address and then for 'column' address. To switch between these two, it uses two signals: !RAS (Row Address Strobe) and !CAS (Column Address Strobe). You set the row address, activate !RAS, wait, set the column address, activate !CAS, and wait again.

SRAM's Different Addressing Method

The SRAM chip, however, does not multiplex its address lines. It expects all address lines to be provided at once, not in two parts like DRAM.

Solution

Using a Flip Flop: To make the SRAM work like DRAM in terms of addressing, a flip flop can be used. A flip flop is a basic memory circuit that can hold a set of binary values (0s and 1s). Here, a flip flop with at least 7 inputs/outputs is needed. The idea is to first set the flip flop with the row address using the !RAS signal, then use its output as the 'row' lines for the SRAM.

Choosing the Right Flip Flop - 74HC374

The 74HC374 is an octal (8-bit) flip flop and fits the requirement. It can take in 8 bits of data and store them until needed.

Addressing the Active High/Low Issue

The 74HC374 has a small mismatch with the DRAM’s !RAS signal. The !RAS signal is active low (it activates on a 0), but the chip select on the 74HC374 is active high (activates on a 1).

Incorporating an Inverter - 74HC04

To resolve this, an inverter (74HC04) is used. This inverter will flip the signal from active low to active high, making it compatible with the 74HC374. The 74HC04 has 6 inverters, more than needed for this task, but it's necessary to make the connection work.

In simple terms, the above describes how to connect a DRAM and an SRAM chip, which handle addressing differently, by using a flip flop and an inverter to match their signal requirements.

Parts

3
QtyValueFootprintReferences
174HCT574D,653SamacSys_Parts:74HCT574D653IC2
1CY62256NLL-55SNXISamacSys_Parts:SOIC127P1194X279-28NIC1
1SN74ACT00NSRSamacSys_Parts:SOIC127P780X200-14NIC3

Similar boards

  • 2 layers127 × 127 mm6502 sbc, the printed circuit board in 3D

    6502 sbc

    davidday99/6502-sbc

    6502 SBC EE schematics and software

    60 parts
  • 4 layers449.2 × 272.9 mmBoard v4 pre v5, the printed circuit board in 3D

    Board v4 pre v5

    lolz0r/Williams-WPC-Power-Driver-Board-A-12697-3

    Untested, unverifed, AI created design.

    415 parts2
  • 2 layers40 × 30 mmBlinky, the printed circuit board in 3D

    Blinky

    earthtojake/text-to-cad

    Design physical products with AI

    3 parts26kMIT
  • 2 layers51.9 × 16 mmPassive2-rpi non standard adapter, the printed circuit board in 3D

    Passive2-rpi non standard adapter

    hzeller/rpi-rgb-led-matrix

    Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO

    3 parts4.4kGPL-2.0
  • 2 layers16.3 × 16.3 mmSensor, the printed circuit board in 3D

    Sensor

    scottbez1/splitflap

    DIY split-flap display

    3 parts4.2k
  • 2 layersSub, the printed circuit board in 3D

    Sub

    atopile/atopile

    Design circuit boards with code! ✨ Get software-like design reuse 🚀, validation, version control and collaboration in hardware; starting with electronics ⚡️

    3 parts4kMIT
  • 2 layers85 × 30 mmDual stomp, the printed circuit board in 3D

    Dual stomp

    torvalds/GuitarPedal

    Linus learns analog circuits

    3 parts2.5kGPL-2.0
  • 2 layers124.5 × 33.7 mm172319-1 connector, the printed circuit board in 3D

    172319-1 connector

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    3 parts1.2k

Questions

What parts does the Zx spectrum lower memory module use?

3 parts, built around the 74HCT574D,653-JSM, CY62256NLL-55SNXI and SN74ACT00NSR. 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 Zx spectrum lower memory module KiCad files?

From the lostretrotapes/zx-spectrum-modern-memory repository on GitHub, at the commit this page was made from: the board is zx-spectrum-lower-memory-module.kicad_pcb and its schematic zx-spectrum-lower-memory-module.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Zx spectrum lower memory module design in my own project?

Its repository publishes it under the GPL-3.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).