remove init blocks from core componsnts
This commit is contained in:
parent
f395551009
commit
f949c2515b
3 changed files with 109 additions and 104 deletions
|
@ -141,9 +141,11 @@ int main(int argc, char **argv) {
|
|||
|
||||
Vchip8 *dut = new Vchip8{contextp};
|
||||
|
||||
dut->rst_in = 1;
|
||||
while (true) {
|
||||
dut->clk_in ^= 1;
|
||||
dut->eval();
|
||||
dut->rst_in = 0;
|
||||
usleep(1000000 / EMULATION_HZ);
|
||||
if (SDL_QuitRequested()) {
|
||||
std::cout << "INF_EMU: Received Quit from SDL. Goodbye!" << '\n';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue