Error accessing the file,

In reply to DurgaKundan:

Because you show no code, no one can tell you if the problem is from your coding.

From the error message, PDP11_ISA appears to be an instance name in your source code, not a file.

Does the file mem_trace.txt" exist in the same directory from where you ran your simulation?