Is the variable declaration inside generate ( logic data ) valid. Will the generated properties use a single data variable or will it create multiple variables(data). Please see the below code
This should work fine (unless I am missing something). Do you see any issue? Just to be sure - with generate, your properties and assertions will be replicated N number of times with each a separate memory footprint. The “data” that you have is a local variable inside that property and gets dynamically allocated during various threads per-assertion.