add allow-overlap option to issuer_verilog.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 12 Jan 2022 20:09:03 +0000 (20:09 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 12 Jan 2022 20:09:03 +0000 (20:09 +0000)
src/soc/simple/issuer_verilog.py

index 35ced51d0ecfe92a386bba131467bbbbd414c426..fdd43dbd6294588685aa634dc4b2623a5e1384a6 100644 (file)
@@ -65,6 +65,11 @@ if __name__ == '__main__':
                         action="store_true",
                         help="generate microwatt-compatible interface",
                         default=False)
+    # allow overlaps in TestIssuer
+    parser.add_argument("--allow-overlap", dest='allow_overlap',
+                        action="store_true",
+                        help="allow overlap in TestIssuer",
+                        default=False)
 
     args = parser.parse_args()
 
@@ -122,6 +127,7 @@ if __name__ == '__main__':
                          svp64=args.svp64,      # enable SVP64
                          microwatt_mmu=args.mmu,         # enable MMU
                          microwatt_compat=args.mwcompat, # microwatt compatible
+                         allow_overlap=args.allow_overlap, # allow overlap
                          units=units,
                          msr_reset=msr_reset)
     #if args.mwcompat: