clang-format

This commit is contained in:
Wilson Snyder 2021-01-03 11:57:29 -05:00
parent 7eeb930c72
commit f57c72e5db
6 changed files with 10 additions and 8 deletions

View File

@ -422,6 +422,7 @@ endif
# Use --xml flag to see the cppcheck code to use for suppression
CPPCHECK_CPP = $(wildcard \
$(srcdir)/examples/*/*.cpp \
$(srcdir)/include/*.cpp \
$(srcdir)/src/*.cpp )
CPPCHECK_H = $(wildcard \

View File

@ -37,6 +37,6 @@ int main(int argc, char** argv, char** env) {
// Destroy model
delete top;
// Fin
// Return good completion status
exit(0);
}

View File

@ -33,12 +33,13 @@ int sc_main(int argc, char* argv[]) {
// Simulate until $finish
while (!Verilated::gotFinish()) {
// Simulate 1ns
sc_start(1, SC_NS);
}
// Final model cleanup
top->final();
// Fin
// Return good completion status
return 0;
}

View File

@ -70,6 +70,6 @@ int main(int argc, char** argv, char** env) {
delete top;
top = nullptr;
// Fin
// Return good completion status
exit(0);
}

View File

@ -101,6 +101,6 @@ int main(int argc, char** argv, char** env) {
VerilatedCov::write("logs/coverage.dat");
#endif
// Fin
// Return good completion status
exit(0);
}

View File

@ -134,6 +134,6 @@ int sc_main(int argc, char* argv[]) {
VerilatedCov::write("logs/coverage.dat");
#endif
// Fin
// Return good completion status
return 0;
}