multicore fix

This commit is contained in:
Blaise Tine
2020-05-10 08:30:04 -04:00
parent 359601cfd3
commit cc84e0691c
40 changed files with 27930 additions and 28148 deletions

View File

@@ -71,7 +71,8 @@ int main(int argc, char **argv)
RAM ram;
loadHexImpl(s.c_str(), &ram);
Simulator simulator(&ram);
Simulator simulator;
simulator.attach_ram(&ram);
bool curr = simulator.run();
if (curr) std::cerr << GREEN << "Test Passed: " << s << std::endl;
@@ -106,7 +107,8 @@ int main(int argc, char **argv)
RAM ram;
loadHexImpl(testing, &ram);
Simulator simulator(&ram);
Simulator simulator;
simulator.attach_ram(&ram);
bool curr = simulator.run();
if (curr) std::cerr << GREEN << "Test Passed: " << testing << std::endl;