forked from github/verilator
clang-format
This commit is contained in:
parent
7eeb930c72
commit
f57c72e5db
@ -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 \
|
||||
|
@ -37,6 +37,6 @@ int main(int argc, char** argv, char** env) {
|
||||
// Destroy model
|
||||
delete top;
|
||||
|
||||
// Fin
|
||||
// Return good completion status
|
||||
exit(0);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -70,6 +70,6 @@ int main(int argc, char** argv, char** env) {
|
||||
delete top;
|
||||
top = nullptr;
|
||||
|
||||
// Fin
|
||||
// Return good completion status
|
||||
exit(0);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -134,6 +134,6 @@ int sc_main(int argc, char* argv[]) {
|
||||
VerilatedCov::write("logs/coverage.dat");
|
||||
#endif
|
||||
|
||||
// Fin
|
||||
// Return good completion status
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user