hemang wrote:
> Using a single file variable, I change the pointer once I write the
> collected set of data for one channel and move to the next. This seems
> to be working, but it limits the length of simulation I can do because
> of collection of report data and now if run into memory issues, I will
> have to create a block of data to record and then open file, go to the
> end of the file, write to it, close file to be opened again for the
> next block of data.
I would just keep the file open and dump it all,
chan1, chan2, ... chanN.
> do you see any issues in doing anything like this? (probably the only
> thing I haven't done so far is to go to the end of the file)
Try it and see. Simulators are very efficient
storing native types. If I had to break it up,
I would make the test channel generic
and run a tcl loop of vsim -G runs.
-- Mike Treseler
|