From ee438105b26555b80b39a3acadaab5c3d9d1dd48 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 16 Jun 2023 17:03:25 +0800 Subject: [PATCH] json: base -> drtio_role --- src/gateware/kasli_soc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gateware/kasli_soc.py b/src/gateware/kasli_soc.py index 63cb0a06..a209bfdd 100755 --- a/src/gateware/kasli_soc.py +++ b/src/gateware/kasli_soc.py @@ -510,14 +510,14 @@ def main(): if description["target"] != "kasli_soc": raise ValueError("Description is for a different target") - if description["base"] == "standalone": + if description["drtio_role"] == "standalone": cls = GenericStandalone - elif description["base"] == "master": + elif description["drtio_role"] == "master": cls = GenericMaster - elif description["base"] == "satellite": + elif description["drtio_role"] == "satellite": cls = GenericSatellite else: - raise ValueError("Invalid base") + raise ValueError("Invalid DRTIO role") soc = cls(description, acpki=args.acpki) soc.finalize()