In reply to ben@SystemVerilog.us:
hi ben,
[*] yes i understood that part,but when i changed it to two pointers like this.
mem_space[fifo_count]<=data_in;
data_out<=mem_space[fifo_count];
[*] and tried the other way around by using two pointers also,
mem_space[write_ptr]<=data_in;
data_out<=mem_space[read_ptr];
[*] I had set the two different pointers,but but if i havve set the two pointers differently ,how can they point to a common memory from where they can copy the data,
I guess ,i am missing out on some point here.
Thanks & regards,
Veeresh