added "Annotate operating point" into Simulation menu
This commit is contained in:
parent
9dc1fde024
commit
3e2bc9f95e
|
|
@ -3214,6 +3214,7 @@ void draw(void)
|
|||
#endif
|
||||
#endif
|
||||
if(xctx->no_draw) return;
|
||||
xctx->show_hidden_texts = tclgetboolvar("show_hidden_texts");
|
||||
rebuild_selected_array();
|
||||
if(has_x) {
|
||||
if(xctx->draw_pixmap)
|
||||
|
|
|
|||
|
|
@ -4782,7 +4782,6 @@ proc housekeeping_ctx {} {
|
|||
xschem set hide_symbols $hide_symbols
|
||||
xschem set draw_window $draw_window
|
||||
xschem case_insensitive $case_insensitive
|
||||
xschem set show_hidden_texts $show_hidden_texts
|
||||
if {![info exists tctx::[xschem get current_win_path]_simulate]} {
|
||||
[xschem get top_path].menubar.simulate configure -bg $simulate_bg
|
||||
} else {
|
||||
|
|
@ -5217,7 +5216,7 @@ proc build_widgets { {topwin {} } } {
|
|||
xschem redraw
|
||||
}
|
||||
$topwin.menubar.view.menu add checkbutton -label "Show hidden texts" -variable show_hidden_texts \
|
||||
-command {xschem set show_hidden_texts $show_hidden_texts; xschem redraw}
|
||||
-command {xschem redraw}
|
||||
$topwin.menubar.view.menu add command -label "Change current layer color" -accelerator {} -command {
|
||||
change_color
|
||||
}
|
||||
|
|
@ -5403,6 +5402,8 @@ proc build_widgets { {topwin {} } } {
|
|||
$topwin.menubar.simulation.menu add command -label {Add waveform graph} -command {xschem add_graph}
|
||||
$topwin.menubar.simulation.menu add checkbutton -label "Live annotate probes with 'b' cursor" \
|
||||
-variable live_cursor2_backannotate
|
||||
$topwin.menubar.simulation.menu add command -label "Annotate Operating Point into schematic" \
|
||||
-command {set show_hidden_texts 1; xschem annotate_op}
|
||||
$topwin.menubar.simulation.menu add separator
|
||||
$topwin.menubar.simulation.menu add checkbutton -label "LVS netlist: Top level is a .subckt" -variable top_subckt
|
||||
$topwin.menubar.simulation.menu add checkbutton -label "Use 'spiceprefix' attribute" -variable spiceprefix \
|
||||
|
|
|
|||
|
|
@ -18,5 +18,5 @@ T {@VOL} 20 0 0 0 0.2 0.2 {}
|
|||
T {@name} 20 -17.5 0 0 0.2 0.2 {}
|
||||
T {@#0:net_name} 5 -42.5 0 0 0.15 0.15 {layer=15}
|
||||
T {@#1:net_name} 5 32.5 0 0 0.15 0.15 {layer=15}
|
||||
T {tcleval(id=[ngspice::get_node [subst -nocommand \{i($\{path\}@name\\\\)\}]] )} 12.5 15 0 0 0.2 0.2 {layer=15
|
||||
T {@spice_get_current} 12.5 15 0 0 0.2 0.2 {layer=15
|
||||
hide=true}
|
||||
|
|
|
|||
Loading…
Reference in New Issue