

Zx spectrum lower memory module
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
374HCT574D,653-JSM
TSSOP-20-40℃~+125℃ 1 12ns 160uA 20MHz 3.5pF 4.5V~5.5V 50ns@4.5V,50pF 5ns 74HCT 8 Rising Edge Tri-State TSSOP-20 Flip Flops ROHSJSMSEMIFlip FlopsCY62256NLL-55SNXI
SOIC-28-300mil-40℃~+85℃ 10uA 256Kbit 4.5V~5.5V 50mA 55ns Auto power-down function Parallel Port (Parallel) SOIC-28-300mil SRAM ROHSAlliance MemorySRAMSN74ACT00NSR
SO-14-208mil-40℃~+85℃ 2 20uA 24mA 24mA 3.7V、4.7V 4 4.5V~5.5V 500mV 74ACT 9.5ns@5V NAND Gate SO-14-208mil Logic Gates ROHSTexas InstrumentsLogic Gates
README
README.mdZX 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | 74HCT574D,653 | SamacSys_Parts:74HCT574D653 | IC2 |
| 1 | CY62256NLL-55SNXI | SamacSys_Parts:SOIC127P1194X279-28N | IC1 |
| 1 | SN74ACT00NSR | SamacSys_Parts:SOIC127P780X200-14N | IC3 |
Similar boards
- 2 layers127 × 127 mm

- 4 layers449.2 × 272.9 mm

Board v4 pre v5
lolz0r/Williams-WPC-Power-Driver-Board-A-12697-3
Untested, unverifed, AI created design.
415 parts2 - 2 layers40 × 30 mm

- 2 layers51.9 × 16 mm

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 mm

- 2 layers

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 mm

- 2 layers124.5 × 33.7 mm

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).