Skip to content

Commit

Permalink
change nodeRep to operatorRepresentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tahaelbayad committed Dec 11, 2024
1 parent cd01169 commit 1ac4c9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Deeploy/Targets/Snitch/Platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,16 @@ class SnitchConstantBuffer(ConstantBuffer):
deallocTemplate = FreeTemplate.snitchL2GlobalTemplate

def _bufferRepresentation(self):
nodeRep = super()._bufferRepresentation()
operatorRepresentation = super()._bufferRepresentation()

if hasattr(self, "_memoryLevel"):
memoryLevel = self._memoryLevel
else:
memoryLevel = None

nodeRep["_memoryLevel"] = memoryLevel
operatorRepresentation["_memoryLevel"] = memoryLevel

return nodeRep
return operatorRepresentation


class SnitchStructBuffer(StructBuffer):
Expand Down

0 comments on commit 1ac4c9a

Please sign in to comment.