I have written a program which reads in a text formatted tran.tran Spectre results file, analyzes the results, then modifies component parameters within input.scs in attempt to improve circuit behaviour. it does this repeatedly for many iterations.
The problem I am having is that the tran.tran file can be very large, making it time consuming to write and read a result file on the disk. I would like to know if it is possible to redirect Spectre's output to a memory buffer which my program could read from, avoiding the overhead of hard disk IO.