diff options
Diffstat (limited to 'ethosu/vela/high_level_command_stream.py')
-rw-r--r-- | ethosu/vela/high_level_command_stream.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ethosu/vela/high_level_command_stream.py b/ethosu/vela/high_level_command_stream.py index 95af1ccb..b8a19f50 100644 --- a/ethosu/vela/high_level_command_stream.py +++ b/ethosu/vela/high_level_command_stream.py @@ -243,6 +243,10 @@ class NpuStripe(Command): MemoryRangeSet(tens.mem_area, tens.address, tens.address + tens.storage_size()), AccessDirection.Read, ) + # Add write access to SHRAM, needed when LUTs can overwrite accumulator banks + res.add( + self.ps.shared_buffer.get_shram_memory_access_range(), AccessDirection.Write, + ) return res def is_npu_pass_command(self): |