Makefile: Added rule for generating mw-compatible core with SVP64
[soc.git] / src / soc / simple / issuer_verilog.py
index abd050275a9d5a347b29c88648412dbe6a4d49ff..d56c140d39791dabb42b01c76380746905db9d4a 100644 (file)
@@ -69,6 +69,10 @@ if __name__ == '__main__':
                         action="store_true",
                         help="generate microwatt-compatible interface",
                         default=False)
+    parser.add_argument("--microwatt-compat-svp64", dest='mwcompatsvp64',
+                        action="store_true",
+                        help="generate microwatt-compatible interface + SVP64",
+                        default=False)
     parser.add_argument("--old-microwatt-compat", dest='old_mwcompat',
                         action="store_true",
                         help="generate old microwatt-compatible interface",
@@ -106,6 +110,18 @@ if __name__ == '__main__':
         args.sram4x4kblock = False
         args.svp64 = False
 
+    # Yes, this is duplicating mwcompat, but for the sake of simplicity
+    # adding support for svp64 like this
+    if args.mwcompatsvp64:
+        args.pll = False
+        args.debug = 'dmi'
+        args.core = True
+        args.xics = False
+        args.gpio = False
+        args.sram4x4kblock = False
+        args.svp64 = True
+        args.mwcompat = True # Ensures TestMemPspec gets the expected value
+
     print(args)
 
     units = {'alu': 1,