microwatt-verilator.cpp: Added verilator runtime help
authorAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 8 May 2023 19:51:45 +0000 (19:51 +0000)
committerAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 8 May 2023 19:51:45 +0000 (19:51 +0000)
verilator/microwatt-verilator.cpp

index ec4c4fddad2e6606a7226d830f34b24b4ba99518..37540cc37519ea45a52fc8e4960966e1336ac16d 100644 (file)
@@ -194,6 +194,8 @@ int main(int argc, char **argv)
            printf("-h <- shows this help string\n");
            printf("-d <- enable trace dumping\n");
            printf("-s [NUMBER] <- start sim from snapshot\n");
+           printf("+verilator+[CMD] <- pass in verilator runtime commands,\
+see the verilator wiki for more info.\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);