S
Stephen
Guest
Hey all,
After my circuit has simulated in OCEAN, I am using the following code
to obtain results in a file (there may be easier ways to do this, but
bear with me here):
==================================================
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Calculate w ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
freq=frequency( v( "/V1" ) )
w=2*3.141592654*freq
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Create a list of when the peaks of the sine wave occur in time ;
; Output this list to a file
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
biglist=root( deriv( v( "/V1" ) ) /w )
myport=outfile("/egr/research/RFIC/zielstep/V1data")
print( biglist myport)
==================================================
The code works like a charm except when I go to gather the data. Most
of it is missing! It completes for the first 2.6us (roughly) in the
transcient analysis, then after that it does not give the remaining
7.4us of data.
Size should not be an issue, as it only take up 120K. Is this amount
set in stone though? A nice round 120K does seem suspicious, but I
can't find anything on that.
If any of you OCEAN gurus out there can lend me a hand, I would
appreciate it very much. Even a hint would be very helpful. Thank in
advance for your time.
After my circuit has simulated in OCEAN, I am using the following code
to obtain results in a file (there may be easier ways to do this, but
bear with me here):
==================================================
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Calculate w ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
freq=frequency( v( "/V1" ) )
w=2*3.141592654*freq
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Create a list of when the peaks of the sine wave occur in time ;
; Output this list to a file
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
biglist=root( deriv( v( "/V1" ) ) /w )
myport=outfile("/egr/research/RFIC/zielstep/V1data")
print( biglist myport)
==================================================
The code works like a charm except when I go to gather the data. Most
of it is missing! It completes for the first 2.6us (roughly) in the
transcient analysis, then after that it does not give the remaining
7.4us of data.
Size should not be an issue, as it only take up 120K. Is this amount
set in stone though? A nice round 120K does seem suspicious, but I
can't find anything on that.
If any of you OCEAN gurus out there can lend me a hand, I would
appreciate it very much. Even a hint would be very helpful. Thank in
advance for your time.