(Help) How to option the Hspice

Status
Not open for further replies.

yeewong_su

Advanced Member level 4
Joined
Oct 12, 2004
Messages
119
Helped
5
Reputation
10
Reaction score
3
Trophy points
1,298
Activity points
803
I use the .measure to measure the output voltage when I sweep the input date. And the output file .mt0:
index bits bit0 bit1 bit2 bit3 bit4 vm1 vm2 vm3 ldo1 ldo2 ldo3 dc21 dc22
dc31 dc32 ref1 v418 v1_ldo v1-2 v1_3 v41 vnn33 temper alter#
1.0000 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0. 3.8685 0.9625 0.9440 0.9440
3.8685 3.1466 60.0000 1.0000
2.0000 0. 0. 0. 0. 0. 0. 0. 0. 5.0000 0.
0. 5.0000 0. 5.0000 0. 5.0000 0. 3.8685 0.9625
0.9440 0.9440 3.8685 3.1466 60.0000 1.0000
3.0000 0. 0. 0. 0. 0. 0. 0. 5.0000 0. 0.
5.0000 0. 5.0000 0. 5.0000 0. 5.0000 3.8685
0.9625 0.9440 0.9440 3.8685 3.1466 60.0000 1.0000

But I want to the output format like that:
index ...................
1.0000 .................
2.0000...................
3.0000..................
It means that dont auto change the line
How to option the Hspice
 

You can employ a tool like ultraedit to re-edit it.
 

.OPTION CO for Printout Width
The number of output variables printed on a single line of output is a function of
the number of columns, set by the option CO. Typical values are CO = 80 for
narrow printouts and CO = 132 for wide printouts. CO = 80 is the default. The
maximum number of output variables allowed is 5 per 80-column output and 8
per 132-column output with twelve characters per column. Star-Hspice
automatically creates additional print statements and tables for all output
variables beyond the number specified by the CO option.

so may .option co=132 do a little help, but cant satisfy your requirment. I think the only way is to do post-edit by text editors.
 

Thank all
I have to use the edit tool to reedit it
the co=132 can option the .lis file but not change the .mt0 file
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…