If I create a variable in a for-loop: for(int i=0;i<N;i++) begin... It creates and unnamed block. If you $display("%m") in the block it is called "...unmblkX" where is an integer. If I try to name the block (as allowed in Modelsim) for(int i=0;i<N;i++) begin : my_block... The behavior does not change. How can I name an unnamed block?
↧