I would like to write an internal reg to a txt file.
I have tried something like:
f = $fopen("conv2_tb_output.txt","w"); $fmonitor(f, value=%d\n", mat_out); $fclose(f);
But since mat_out is an internal reg, I got an error: is not declared.
Does anyone body know how to write internal regs to a txt file?
Thanks in advance