summaryrefslogtreecommitdiff
path: root/eater_cpu/cpp
AgeCommit message (Collapse)Author
22 hourseater: PC inc included, decode on negedgemainuvok
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.
23 hoursImplement JMPuvok
and get rid of arbitrary run limitation.
23 hoursImplement LDIuvok
23 hoursImplement STAuvok
23 hoursPut instructions into std::vectoruvok
46 hoursremove missing includeuvok
46 hourseater: 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: Add subtract flaguvok
4 dayseater: Print most control signalsuvok
4 dayseater,sim: Make decoder state actually public-flaruvok
4 dayseater,sim: Reformat and extract funcuvok
4 dayseater: Add verilator/cmake projectuvok