Whether the iterator is reader or the writer

  • Thread starter parag_paul@hotmail.com
  • Start date
P

parag_paul@hotmail.com

Guest
I have a design file as follows,



program test;

class t0 ;

bit [31:0] data[5000:0] ;

endclass



t0 u_t0 ;



initial

#100 ;



initial

for (int i ; i < 1000 ; i++)

u_t0 = new() ;



endprogram



My question is that whether the signal "i" in the "for" statement is
reader or writer of the initial block.

Could someone help me on this?
 

Welcome to EDABoard.com

Sponsor

Back
Top