python3 src/soc/simple/issuer_verilog.py --microwatt-compat --enable-mmu \
external_core_top.v
+# build microwatt "external core" with fixed 64-bit width SVP64
+# note that the TLB set size is set to 16
+# for I/D-Cache which needs a corresponding alteration of the device-tree
+# entries for linux
+microwatt_external_core_svp64:
+ python3 src/soc/simple/issuer_verilog.py --microwatt-compat-svp64 --enable-mmu \
+ external_core_top.v
+
microwatt_external_core_spi:
python3 src/soc/simple/issuer_verilog.py --microwatt-compat \
--small-cache \
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",
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,