summaryrefslogtreecommitdiff
path: root/eater_cpu/cpp/Veater_computer__main.cpp
AgeCommit message (Collapse)Author
8 hoursAdd ncurses and disassemblyuvok
32 hourseater: PC inc included, decode on negedgeuvok
Some cycles can be saved. As previously (wrongly) committed, the PC can be incremented early, but the decoder needs to do this "early", so as now implemented, on the falling clock adge already.
33 hoursImplement JMPuvok
and get rid of arbitrary run limitation.
33 hoursImplement LDIuvok
33 hoursImplement STAuvok
33 hoursPut instructions into std::vectoruvok
2 dayseater: Use correct opcodesuvok
I was off-by-one?
4 daysAdd halt state and flaguvok
4 dayseater: Combine counting in prev. stateuvok
save 1 cycle, as explained in video. also, only print lo->hi clk states to term.
4 dayseater,sim: Make decoder state actually public-flaruvok
4 dayseater,sim: Reformat and extract funcuvok
4 dayseater: Add verilator/cmake projectuvok