ELSEIF
Your brief EB
203 stories from 202 feeds 1253 clusters Refreshed 30 minutes ago next pull 03:44

TECH Signal 243 2 feeds carried it

NEC V20 microcode ROM extracted from die photos using CNN bit classification

A developer commissioned high-resolution die photography of the NEC V20 CPU and used a convolutional neural network to extract the microcode ROM contents, enabling cycle-accurate V20 emulation in MartyPC.

WHY IT MATTERS

The previous V20 emulation core in MartyPC was not cycle-accurate because it repurposed the 8088 core with V20 instructions grafted on. With the microcode decoded, emulator authors can now match the V20's actual timings rather than approximating them, the same way reenigne's 8088 microcode decoding enabled accurate 8088 emulation in 2020.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

The NEC V20 microcode ROM is 258x116 bits (29,928 total), with a word length of 29 implying 1032 microcode words, eight more than the expected 1024.

02

Standard thresholding in MaskRomTool failed due to poor contrast from the metal layer, so the author exported bit positions to JSON and extracted 42x42 pixel sub-images for each of the 29,928 bits.

03

A CNN trained in PyTorch on roughly 1,000 manually classified bits successfully sorted the remaining ROM bits as 0 or 1, replacing what would have been hours of tedious manual classification.

THE CLUSTER

Same story, 2 feeds.

ORDERED BY FIRST SEEN
martypc.blogspot.com via Hacker News Decoding the NEC V20 Microcode Open ↗
martypc.blogspot.com via Lobsters Decoding the NEC V20 Microcode Open ↗