Hi there,
I have a very short question. Is there any possibility to write a data inside a txt file? How can i write GBW, DCG and PM in a txt file? I tried in this way but these are values, not vector.
Copy code
.control
ac dec 100 1 10G
settype decibel out
*setplot ac1
meas ac GBW when vdb(vout)=0
meas ac DCG find vdb(vout) at=1
meas ac PM find vp(vout) when vdb(vout)=0
set wr_vecnames
set wr_singlescale
wrdata tb_openloop.txt GBW DCG PM
p
Pranav Lulu
01/28/2023, 5:45 PM
You need to add this command
set filetype=ascii
in order to write data in txt file.
r
Roberto Di Lorenzo
01/28/2023, 9:40 PM
it is not a problem this option.
I get this txt, but i don't want all this line. i just need one time the parameter.
frequency GBW DCG PM
1.000e+00 2.479e+07 6.291e+01 6.081e+01
1.012e+00 2.479e+07 6.291e+01 6.081e+01
1.023e+00 2.479e+07 6.291e+01 6.081e+01
1.035e+00 2.479e+07 6.291e+01 6.081e+01
1.047e+00 2.479e+07 6.291e+01 6.081e+01
1.059e+00 2.479e+07 6.291e+01 6.081e+01
1.072e+00 2.479e+07 6.291e+01 6.081e+01
1.084e+00 2.479e+07 6.291e+01 6.081e+01
1.096e+00 2.479e+07 6.291e+01 6.081e+01
1.109e+00 2.479e+07 6.291e+01 6.081e+01
1.122e+00 2.479e+07 6.291e+01 6.081e+01
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.