harpv
Member level 4
- Joined
- May 30, 2012
- Messages
- 73
- Helped
- 19
- Reputation
- 38
- Reaction score
- 20
- Trophy points
- 1,288
- Activity points
- 1,838
Hi,
I'm trying to verify an MBIST by randomly injecting the memory with errors and looking for error status. The force statement(given below) I've been using doesn't work when I replace a hardcoded path with the `define `RAM_PATH(mem_indx) ; ncvlog says ncvlog: *E,EXPIDN (.....) expecting an identifier [9.2(IEEE)].
Is there a way around this problem? I've the memory paths in the `define array `RAM_PATH(mem_indx) but I'm not able to use it because of this error.
Also if possible, please suggest any alternate ways for error injection.
Thanks
I'm trying to verify an MBIST by randomly injecting the memory with errors and looking for error status. The force statement(given below) I've been using doesn't work when I replace a hardcoded path with the `define `RAM_PATH(mem_indx) ; ncvlog says ncvlog: *E,EXPIDN (.....) expecting an identifier [9.2(IEEE)].
Code:
[B] force `RAM_PATH(mem_indx).MEM[mem_addr][bit_indx] = bit_val; [/B]
Also if possible, please suggest any alternate ways for error injection.
Thanks