File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -292,15 +292,9 @@ def dumpBuffer(buf: VariableBuffer, path: str):
292
292
293
293
paddedArray .astype (typeStr ).tofile (path )
294
294
295
- # SCHEREMO: Dump all global const buffers as hex files
296
- globalConstBuffers = [
297
- buf for key , buf in deployer .ctxt .globalObjects .items () if isinstance (buf , VariableBuffer ) and buf ._deploy
298
- ]
299
- l3ConstBuffer = [buf for buf in globalConstBuffers if hasattr (buf , "_memoryLevel" ) and buf ._memoryLevel == "L3" ]
300
-
295
+ # LMACAN: Dump all global buffers with the "extName" attribute
301
296
os .makedirs (path , exist_ok = True )
302
-
303
- for idx , buf in enumerate (l3ConstBuffer ):
297
+ for buf in deployer .ctxt .globalObjects .values ():
304
298
if hasattr (buf , "extName" ):
305
299
pathName = os .path .join (path , f"{ buf .extName } .hex" )
306
300
dumpBuffer (buf , pathName )
You can’t perform that action at this time.
0 commit comments