I just want to make sure I have got this correct as I am going to implement something based on this.
When I overwrite an entry in an associative array, I see that the new value is rejected, which is what I am looking for.
The following is the code I have tried:
int Q[int] ;
int x, y;
Q = 1;
Q = 2;
Q = 3;
Q = 4;
$display ("%d %d %d", Q, Q, Q);
The following is the output:
At least I am not able to find anything in LRM that describes this behaviour