summaryrefslogtreecommitdiff
path: root/eater_cpu/cpp/Veater_computer__main.cpp
AgeCommit message (Collapse)Author
21 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.
22 hoursImplement JMPuvok
and get rid of arbitrary run limitation.
22 hoursImplement LDIuvok
22 hoursImplement STAuvok
22 hoursPut instructions into std::vectoruvok
45 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,sim: Make decoder state actually public-flaruvok
4 dayseater,sim: Reformat and extract funcuvok
4 dayseater: Add verilator/cmake projectuvok