-
Notifications
You must be signed in to change notification settings - Fork 17
Description
I've used psf_utils to extract data from a simple inverter circuit.
When I extract psfascii and try to plot it, called tran.tran.tran, using the tutorial given by the Author, I receive the following error:
ValueError: x and y must have same first dimension, but have shapes (117,) and (47,)
The psf file was generated by Spectre, with psfascii format given as the output format.
Using "list-psf -l" I can see the following result:
Diagnose.ElapTimePerStep real (117 points) Diagnose.ElapsedTime real (117 points) Diagnose.MachineLoad real (117 points) Diagnose.Memory real (117 points) Diagnose.NumberOfStep real (117 points) Diagnose.StepSize real (117 points) I0.MN6.g0 V real (18 points) I0.MP7<0>.g0 V real (19 points) I0.MP7<1>.g0 V real (19 points) I11.MN6.g0 V real (48 points) I11.MP7<0>.g0 V real (48 points) I11.MP7<1>.g0 V real (48 points) I12.MN6.g0 V real (48 points) I12.MP7<0>.g0 V real (48 points) I12.MP7<1>.g0 V real (48 points) I17.MN6.g0 V real (48 points) I17.MP7<0>.g0 V real (48 points) I17.MP7<1>.g0 V real (48 points) I2.MN6.g0 V real (48 points) I2.MP7<0>.g0 V real (48 points) I2.MP7<1>.g0 V real (48 points) V2:p A real (76 points) V4:p A real (75 points) VDD V real (2 points) in V real (5 points) net13 V real (45 points) net4 V real (45 points) net5 V real (45 points) net6 V real (45 points) out V real (47 points)
So this error was actually expected, as "out" have 47 points and not 117
The file is not corrupted, as it can be read and plotted by ADE without any problem