A simulator for the Hack Hardware. Simulates chips (in .hdl format). Recognizes the following variables: time - the number of tick-tocks that passed since the program started running. if clock is up, adds a '+' (String) - READ ONLY Input/Output/Internal pin name Recognizes the following commands: load - loads the given gate (from an HDL file) into the simulator (the file name should not contain the path and the .HDL extension). tick - Clock goes up (internal state of clocked gates changes). tock - Clock goes down (outputs of clocked gates are modified). eval - propagate all the input values of the gate and re-compute all outputs of the gate.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.