jjrice
New Member
Offline
Posts: 1
|
I have a simple verilogA model that samples some nodes in my circuit and writes these out to a text file for post processing with matlab, ie:
@(initial_step) fp=$fopen("/path/data.txt") @(cross(V(clk) - Vt, +1)) $fwrite(fp, formatstuff, datastuff)
I'd like to run monte-carlo on this circuit, and have this block write to a different file for each run so that I could analyze each in matlab, ie:
fp=$fopen( cat("/path/data", MonteCarloRunNumber, ".txt"))
Any ideas on how to accomplish this?
|