# Reading from file, File is updating at runtime

**URL:** <https://verificationacademy.com/forums/t/reading-from-file-file-is-updating-at-runtime/31113>\
**Category:** UVM\
**Tags:** UVM, FileReading-FileIO\
**Created:** [October 12, 2015, 2:40pm UTC](https://verificationacademy.com/forums/t/reading-from-file-file-is-updating-at-runtime/31113 "2015-10-12T14:40:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [October 12, 2015, 4:10pm UTC](https://verificationacademy.com/forums/t/reading-from-file-file-is-updating-at-runtime/31113/2 "2015-10-12T16:10:04Z")

</div>

You will need to explain more why you can’t let your C program finish writing to the file, and then start your simulation.

Inter-process communication (IPC) will be required if you cannot run the C program first, and that will be OS specific.

A better solution might be to integrate the C program using the SystemVerilog DPI and avoid communicating through a file.

---

_[View the full topic](https://verificationacademy.com/forums/t/reading-from-file-file-is-updating-at-runtime/31113)._
