@@ -21,7 +21,7 @@ def __init__(self):
2121 self ._log = getLogger ('lc.const' )
2222 self ._states : dict [str , tuple [str , str ]] = {}
2323 self ._tokens : dict [str , str ] = {}
24- self ._diversifiers : dict [str , str ] = {}
24+ self ._diversifiers : dict [str , str ] = {}
2525
2626 def load_sv (self , svp : TextIO ) -> None :
2727 """Decode LC information from a System Verilog file.
@@ -50,14 +50,14 @@ def load_sv(self, svp: TextIO) -> None:
5050 int (trans [otrans [0 ]]),
5151 int (trans [otrans [1 ]]))
5252 self ._tokens .update (lcext .get_tokens (False , False ))
53- socdbg = lcext .get_configuration ('SOCDBG ' )
54- if socdbg :
55- for raw in {s for s in socdbg if int (s , 16 ) == 0 }:
56- del socdbg [raw ]
57- osoc = list (socdbg )
58- self ._states ['socdbg ' ] = osoc [0 ], osoc [- 1 ]
53+ soc_dbg = lcext .get_configuration ('SOC_DBG ' )
54+ if soc_dbg :
55+ for raw in {s for s in soc_dbg if int (s , 16 ) == 0 }:
56+ del soc_dbg [raw ]
57+ osoc = list (soc_dbg )
58+ self ._states ['soc_dbg ' ] = osoc [0 ], osoc [- 1 ]
5959 self ._log .info ("Socdbg first: '%s', last '%s'" ,
60- socdbg [osoc [0 ]], socdbg [osoc [- 1 ]])
60+ soc_dbg [osoc [0 ]], soc_dbg [osoc [- 1 ]])
6161 ownership = lcext .get_configuration ('OWNERSHIP' )
6262 if ownership :
6363 for raw in {s for s in ownership if int (s , 16 ) == 0 }:
0 commit comments