By whygee on Tuesday 28 February 2012, 17:37
How did I write 350 lines of code in one day to create a (mostly) working CPU ? It's thanks to a long and careful preparation, using diagrams like this one :

I use different colors to show the separate paths for control, address, data etc.
With this kind of general diagram, it's easy to code : just follow the wires and code the corresponding function...
A cleaner version will appear later :-)
20200410:
With time, the diagram was further refined...

It's impossible to understate the importance of diagrams, schematics and sketches !
When you have one, writing the code is very easy...
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.