From 19e60073dec1b8eb5c522361cff204113eb693b4 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Tue, 7 Jun 2022 16:21:16 +0800 Subject: [PATCH] kasli_soc: ident = variant name --- src/gateware/kasli_soc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gateware/kasli_soc.py b/src/gateware/kasli_soc.py index d45bfc4..36dfad9 100755 --- a/src/gateware/kasli_soc.py +++ b/src/gateware/kasli_soc.py @@ -118,7 +118,7 @@ class GenericStandalone(SoCCore): platform.toolchain.bitstream_commands.extend([ "set_property BITSTREAM.GENERAL.COMPRESS True [current_design]", ]) - ident = self.__class__.__name__ + ident = description["variant"] if self.acpki: ident = "acpki_" + ident SoCCore.__init__(self, platform=platform, csr_data_width=32, ident=ident) @@ -204,7 +204,7 @@ class GenericMaster(SoCCore): platform.toolchain.bitstream_commands.extend([ "set_property BITSTREAM.GENERAL.COMPRESS True [current_design]", ]) - ident = self.__class__.__name__ + ident = description["variant"] if self.acpki: ident = "acpki_" + ident SoCCore.__init__(self, platform=platform, csr_data_width=32, ident=ident) @@ -329,7 +329,7 @@ class GenericSatellite(SoCCore): platform.toolchain.bitstream_commands.extend([ "set_property BITSTREAM.GENERAL.COMPRESS True [current_design]", ]) - ident = self.__class__.__name__ + ident = description["variant"] if self.acpki: ident = "acpki_" + ident SoCCore.__init__(self, platform=platform, csr_data_width=32, ident=ident)