From: Andrey Miroshnikov Date: Mon, 8 May 2023 19:29:01 +0000 (+0000) Subject: microwatt-verilator.cpp: Fixed indent X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=515738527e751b977a9e6aeb7cc74c967837b94b;p=microwatt.git microwatt-verilator.cpp: Fixed indent --- diff --git a/verilator/microwatt-verilator.cpp b/verilator/microwatt-verilator.cpp index 2075fd4..ec4c4fd 100644 --- a/verilator/microwatt-verilator.cpp +++ b/verilator/microwatt-verilator.cpp @@ -179,7 +179,7 @@ int main(int argc, char **argv) memset(_mem, sz, 0); vluint64_t restore_time = 0; - bool traceme = false; // true: dump to trace file, false: don't + bool traceme = false; // true: dump to trace file, false: don't // identify bram files to load (if not starting "+[verilator]") // here we can specify any number of files, but at present only // (realistically) two are supported: the bootloader (at address 0x0) @@ -188,19 +188,19 @@ int main(int argc, char **argv) // of hassle for (int i = 1; i < argc; i++) { char *bram_file = NULL; - if (strcmp("-h", argv[i]) == 0) { + if (strcmp("-h", argv[i]) == 0) { printf("---Microwatt-verilator binary.---\n"); - printf("Line args:\n"); - printf("-h <- shows this help string\n"); - printf("-d <- enable trace dumping\n"); - printf("-s [NUMBER] <- start sim from snapshot\n"); - printf("first arg <- binary file to load into bram\n"); - printf("second arg <- linux binary to load to 0x600000 (a hack)\n"); - exit(1); + printf("Line args:\n"); + printf("-h <- shows this help string\n"); + printf("-d <- enable trace dumping\n"); + printf("-s [NUMBER] <- start sim from snapshot\n"); + printf("first arg <- binary file to load into bram\n"); + printf("second arg <- linux binary to load to 0x600000 (a hack)\n"); + exit(1); } - else if (strcmp("-d", argv[i]) == 0) { + else if (strcmp("-d", argv[i]) == 0) { printf("Trace dump enabled. NOTE: Generates *LARGE* files!\n"); - traceme = true; + traceme = true; } else if (strcmp("-s", argv[i]) == 0) { bram_file = (char*)malloc(128); // okok not freed, i know