add noise analysis recognition in raw files
This commit is contained in:
parent
ad07999dd3
commit
a41a0bf9fd
|
|
@ -526,6 +526,11 @@ static int read_dataset(FILE *fd, Raw **rawptr, const char *type)
|
||||||
if(!strcmp(type, "dc")) sim_type = "dc";
|
if(!strcmp(type, "dc")) sim_type = "dc";
|
||||||
dbg(dbglev, "read_dataset(): dc sim_type=%s\n", sim_type ? sim_type : "<NULL>");
|
dbg(dbglev, "read_dataset(): dc sim_type=%s\n", sim_type ? sim_type : "<NULL>");
|
||||||
}
|
}
|
||||||
|
else if(!strncmp(line, "Plotname:", 9) && strstr(lowerline, "noise spectral density curves")) {
|
||||||
|
if(!type) type = "noise";
|
||||||
|
if(!strcmp(type, "noise")) sim_type = "noise";
|
||||||
|
dbg(dbglev, "read_dataset(): noise sim_type=%s\n", sim_type ? sim_type : "<NULL>");
|
||||||
|
}
|
||||||
else if(!strncmp(line, "Plotname:", 9) && strstr(lowerline, "operating point")) {
|
else if(!strncmp(line, "Plotname:", 9) && strstr(lowerline, "operating point")) {
|
||||||
|
|
||||||
if(!type) type = "op";
|
if(!type) type = "op";
|
||||||
|
|
|
||||||
|
|
@ -2038,7 +2038,7 @@ proc graph_edit_properties {n} {
|
||||||
# center right frame
|
# center right frame
|
||||||
label .graphdialog.center.right.lab1 -text { Signals in graph }
|
label .graphdialog.center.right.lab1 -text { Signals in graph }
|
||||||
if { [info tclversion] > 8.4} {
|
if { [info tclversion] > 8.4} {
|
||||||
ttk::combobox .graphdialog.center.right.list -values {dc ac tran op sp} -width 4
|
ttk::combobox .graphdialog.center.right.list -values {dc ac tran op sp noise} -width 4
|
||||||
} else {
|
} else {
|
||||||
entry .graphdialog.center.right.list -width 4
|
entry .graphdialog.center.right.list -width 4
|
||||||
}
|
}
|
||||||
|
|
@ -2073,7 +2073,7 @@ proc graph_edit_properties {n} {
|
||||||
|
|
||||||
label .graphdialog.center.right.rawlab -text { Raw file: }
|
label .graphdialog.center.right.rawlab -text { Raw file: }
|
||||||
entry .graphdialog.center.right.rawentry -width 30
|
entry .graphdialog.center.right.rawentry -width 30
|
||||||
bind .graphdialog.center.right.rawentry <KeyRelease> {
|
bind .graphdialog.center.right.rawentry <Leave> {
|
||||||
xschem setprop rect 2 $graph_selected rawfile [.graphdialog.center.right.rawentry get] fast
|
xschem setprop rect 2 $graph_selected rawfile [.graphdialog.center.right.rawentry get] fast
|
||||||
if {[file exists [subst [.graphdialog.center.right.rawentry get]]]} {
|
if {[file exists [subst [.graphdialog.center.right.rawentry get]]]} {
|
||||||
graph_fill_listbox
|
graph_fill_listbox
|
||||||
|
|
|
||||||
|
|
@ -359,6 +359,7 @@
|
||||||
# set editor {gvim -f -geometry 90x28}
|
# set editor {gvim -f -geometry 90x28}
|
||||||
# set editor { xterm -geometry 100x40 -e nano }
|
# set editor { xterm -geometry 100x40 -e nano }
|
||||||
# set editor { xterm -geometry 100x40 -e pico }
|
# set editor { xterm -geometry 100x40 -e pico }
|
||||||
|
# set editor {gedit -w}
|
||||||
|
|
||||||
#### For Windows
|
#### For Windows
|
||||||
# set editor {notepad.exe}
|
# set editor {notepad.exe}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue