|
Hi, i've found this course few days ago and i really love it, thanks to everyone involved in it's creation.
Ok, so i just finished RAM8 chip, parts look something like this:
DMux8Way() // Selecting address to write to
Register() // Writing to appropriate address
Register()
...
Register()
Mux8Way16() // Reading some address
So i just wanted to check other people's implementations to see if it can be done more efficient, or easy and i found this code:
Register() // Writing to appropriate address
Register()
...
Register()
DMux8Way() // Selecting address to write to
Mux8Way16() // Reading some address
Almost the same, as you can see, but DMux8Way goes after writing register, so it seems like we would always write registers with load=0, since it's value not set in the first place. But i've tried that code and it worked just as my version.
I'm probably missing something, but i can't see what. Is order of parts is not important?
I can post the full code if needed, i just didn't want to create spoilers.
|