Close

A Solution for Hex Display

A project log for CDP18S030: A Microcomputer in a Briefcase

Breathing life into a half a century old RCA COSMAC Micromonitor emulator of CDP1802 microprocessor

lauri-pirttiahoLauri Pirttiaho • 09/25/2026 at 15:04•0 Comments

After studying some alternatives for making the 7-segment hex displays one feasible may be to use a simple programmable logic device like Renesas SLG46824 to convert the nybble input to 7-segment display hex digit patterns. A quick check with AI provided a solution which fits into the limited resources of this chip. The logic patterns require 16 of the 19 logic elements of the chip leaving 3 for DFFs, and thus one external DFF like SN74LVC1G79 is needed. The SLG devices have relatively high drive current specifications so they can typically drive the LEDs directly making external driver transistors unnecessary.

The converter schema from the GreenPAK designer:

The LUT contents are:

P1: 0x04
P2: 0x9E
P3: 0x04
P4: 0xD0
P5: 0xE0
P6: 0x8E
P7: 0x20
P8: 0xE
P9: 0x18

Ma: 0x8D
Mb: 0x7B
Mc: 0x27
Md: 0x7B6D
Me: 0x8D
Mf: 0x27
Mg:0x72

The simulation with the SPICE in the GreenPAK designer confirms the correct patterns:

Even though feasible, for the moment I won't include the display to the target circuit, but only the memory and the logic it requires. That will be sufficient to further test the debugger.

Discussions