Hi , In the following image i see SVG, but when ...
# sky130
s
Hi , In the following image i see SVG, but when i click it says no file or directory. Is it possible to store the values found in any text file. I hve used
.raw
file to save my simulation but yet unable to read it .
e
I actually have the same issue... I also cant store them as SVG file...
s
@srinivasan_muthukrishnan19 @Enno you may use GTK analog viewer to view the raw file
e
I know that always works... But its still bad, that this feature does not work (at least for @srinivasan_muthukrishnan19 and me) Since it would be at least a little more convinient to use...
πŸ‘ 1
s
Sorry I don't understand the question. What do you want to do? If you want to get the ascii data just add set filetype=ascii in your ngspice commands:
Copy code
.control
  save all
  set filetype=ascii
  tran 1n 2u
  write file.raw
.endc
You can then open your raw file and see all values.
πŸ‘ 1
s
@Stefan Schippers I wanted to recreate the same image using matlab or using excel. For that i need to store the values of x and y axis. How to obtain those values in case of obtaining results for report purpose.
πŸ‘ 1
@SUMANTO KAR what is gtk analog viewer. I have not used it before.
πŸ‘ 1
e
GTK is basically the same, just as a reader for all the values stored in the .raw file... You can really see all the waveforms for all the nets in there... (I thinks sometimes also called gaw... I think...)
πŸ‘ 1
s
Just add:
wrdata gm.txt @m.xm1.msky130_fd_pr__pfet_01v8_lvt[gm]
you can then plot this data with whatever tool you need
πŸ‘ 1
s
ok thanks @Stefan Schippers
πŸ‘ 1
@Enno how to use that viewer. Any example video?
πŸ‘ 1
s
@srinivasan_muthukrishnan19 gtk analog viewer is just the name of the GAW viewer. (it's the *G*tk *A*nalog vie*W*er acronym). If using xschem i suggest building GAW from here. and look at this manual page and this video
πŸ‘ 1