This allows all the tests to run, and allows for working on solutions incrementally, while hiding the solutions away so any hypothetical solvers can work on them one at a time.
Also added some comments giving a little guidance about how to proceed.
It was weird that project 04 was missing, and now that an assembler and simulator are implemented, there's no reason not to include it.
Other enhancements:
realized I could test RAM64 and RAM512 by using the faster simulator, so added that
implemented a few more components in codegen that are used in RAMs: DMux, DMux8Way, Mux8Way16
SyntaxErrors for missing and unexpected arguments and outputs
fixed a bug in the commented and never-tested RAM512 solution
implemented and tested RAM4K, which is still too slow but no longer impossible to run
fixed a hidden bug in codegen with Register references
This allows all the tests to run, and allows for working on solutions incrementally, while hiding the solutions away so any hypothetical solvers can work on them one at a time.
Also added some comments giving a little guidance about how to proceed.
It was weird that project 04 was missing, and now that an assembler and simulator are implemented, there's no reason not to include it.
Other enhancements:
DMux
,DMux8Way
,Mux8Way16
SyntaxError
s for missing and unexpected arguments and outputsRegister
references