correct default to zero string not zero int
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 3 Apr 2022 16:00:18 +0000 (17:00 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 3 Apr 2022 16:00:18 +0000 (17:00 +0100)
src/soc/simple/issuer_verilog.py

index 1ddc42114ebef37adbfb113478ec2ffdaeb35274..dd7bcc773950a296f005559b388fb32c8ffb77f3 100644 (file)
@@ -59,7 +59,7 @@ if __name__ == '__main__':
     parser.add_argument("--disable-svp64", dest='svp64', action="store_false",
                         help="disable SVP64",
                         default=False)
-    parser.add_argument("--pc-reset", default=0,
+    parser.add_argument("--pc-reset", default="0",
                         help="Set PC at reset (default 0)")
     parser.add_argument("--xlen", default=64, type=int,
                         help="Set register width [default 64]")