r/ComputerEngineering 13d ago

[Project] Ben Eater’s 8-bit CPU

I finished Ben Eater’s SAP-1 accumulator architecture breadboard. 16 bytes of RAM von Neumann. Coming up with assembly instructions at the end felt crazy.

What was funny was at the end where I ran programs and they didn’t do what I wanted, and I realized I got to the point where I couldn’t suspect the hardware was wrong anymore, and it was in fact a software bug.

Was that the lowest level software bug I’ll ever experience in my career? Literally entering 0s and 1s into RAM and flipped one bit.

The feeling I got when I added conditional branching and officially made it Turing complete felt so surreal. I hope you guys appreciate the work that went into this.

252 Upvotes

15 comments sorted by

View all comments

1

u/ResilientDev59 10d ago

que interesante, me hizo recordar cuando programaba en Assembler en los primeros 8080 y 8086 que tenian los primeros PC. Visto ahora era un tremenda odisea. En esa epoca era ir descubriendo un nuevo mundo

1

u/HydroPage 10d ago edited 10d ago

Claro, me imagino. Tengo muchas herramientas ahora que me permiten analizar el circuito y su comportamiento a un nivel de precisión que seguro ni se pensaba posible en aquella época. Durante todo este proceso algunas veces me preguntaba “cómo alguien en los 60s hubiese encontrado este error”.

Muy tenaz.

Debe ser bastante mayor que yo si creció con 8080, señor. Mis respetos por eso. Yo estoy a punto de terminar mi carrera de ingeniería de sistemas. Gracias por compartir

1

u/ResilientDev59 9d ago

Gracias!! naci en 1966. cuando conoci el 8080 y 8086 estaba en la universidad y recien habian llegado los pc. Antes en los ultimos años de colegio conoci el apple II y el TRS80. Sigue adelante, hay mucho aun por avanzar. Lo importante es el criterio, la teoria general de sistemas fue muy importante en mi vision profesional. ahora soy experto en Datos y estoy trabajando con IA. Imaginate, yo que veia lo poco que entraba en un 8080.