MLBEDSW-5740: Fix assert when setting address on identical LUT tensors

When an LUT tensor address is updated with another existing LUT tensor
address, also make sure to update the equivalence id.

Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Change-Id: I5ce8c608d9ff6d31e16212b1a725b4147dd3f6f1
diff --git a/ethosu/vela/lut.py b/ethosu/vela/lut.py
index 8a23b51..3b2e307 100644
--- a/ethosu/vela/lut.py
+++ b/ethosu/vela/lut.py
@@ -115,6 +115,7 @@
         existing_tens = lut_state.get_equivalent(lut_tens)
         if existing_tens is not None:
             # LUT is already in SHRAM, no need to perform DMA
+            lut_tens.equivalence_id = existing_tens.equivalence_id
             lut_tens.address = existing_tens.address
             cmd.ps.primary_op.activation.lut_index = get_lut_index(arch, existing_tens)
             continue