|
I have implemented the RAM in the way that I think is suggested by the conferences and the chips previously developed. Essentially:
- DMux the load flag.
- Probe each inferior level RAM or register / read and, if required, rewrite the addressed register.
- Mux the output.
But this implementation seems to me very inefficient, because for each read or write operation, we need to probe all the registers in the RAM (16K). That seems to be because Mux and DMux operate with contents, not with instructions, so we can not just route an instruction to read or write to a specified register. Is this so or am I missing something?
Even if it has to be like that in the Hack computer, I presume it is not like that in real computers. Am I right? How can this be achieved?
|