forked from dsh/ROT-8-Machine
This repository is a machine, not a toolchain. R8Forge keeps the language, the ISA specification and the tools that assemble, pack and run tapes; this one keeps what it takes to build the thing: the RTL and its testbench, the requirements note, the 34 chip board wiring, the panel design and its mockups, the mechanics analysis, the bill of materials, the buying guide and the order sheet, the bring up plan, and the microcode directory that is still empty. The equivalence test came with the RTL, since it needs both halves: it assembles a tape with r8forge, packs it with tape_pack, runs it with tape_run --loop-stack --retest, then compiles rtl/rot8.v with iverilog and requires the same OUT stream and the same step count. It takes those three binaries as parameters and its header says they must be built for eight bit cells and sixty four cells, because an eleven bit packer feeding an eight bit machine produces different output and looks like an RTL bug. Verified here: hello 577 instructions 417 steps, calc 51378 instructions 166741 steps with "12 34 + ." fed in, both agreeing with the interpreter.